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

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -