Greeting,

I am working on a thread pool with libdbi and libdbi-driver-mysql. i saw a
problem that program crashes if mysql server goes away for one thread. i am
using the thread safe version of libdbi and the design of my thread pool
doesn't have problems.  The problem comes out from libdbi mysql driver,
which  is compiled against libmysqlclient not libmysqlclient_r by default. I
am just wondering what i should do to make libdbi mysql driver thread-safe.
Can I just change the makefile.am to use -lmysqlclient_r instead
of -lmysqlclient? Is dbd_mysql.c thread-safe?

Thanks,
James
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to