Le dimanche 20 décembre 2009 21:29:54, Kern Sibbald a écrit :
> What will happen if I remove the pthread_mutex_check and the backend is not
> configured for multiple threads?

Good question, i would say that you can have race conditions on client lib 
internal global structures and variables.

Now the current code will check if the library is thread-safe at the runtime, 
and will ABORT in case of problem.

For PostgreSQL users <= 8.1, the PQisthreadsafe() call doesn't exist, but 
rather than moving the required version from 7.4 to 8.2, i print a warning 
message at the end of the configure process.

Bye

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to