Hi all.
I've been working with libdbi for some time and stumbled upon a
problem with multile threads. Just for fun I've implemented a quick
and
dirty connection pool for that, but unfortunately when
dbi_conn_queryf()
is performed on the stress test by two different threads at the same
time the whole app has a large chance to crash either with abort or
segfault. I wonder if thread safety is planned in future. If you like I can
provide my implementation of the connection pool and the stress
test i used, both quite simple.
So the question is, is there anything that can be done with multithreading
at this time?
Cheers, Andrew
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users