c++ - my_thread_global_end threads didn't exit, error? -
i using mysql c++ connector (1.0.5) , moved get_driver_instance() , connect() methods secondary thread getting below error.
error in my_thread_global_end(): 1 threads didn't exit
after googling found mysql thread isn't exiting. there method in c++ wrapper cleanup?
after googling came know mysql_thread_end() solve problem. way linking against libmysqlclient.a included mysql.h file , called mysql_thread_end before exiting secondary thread, problem solved.
Comments
Post a Comment