in reply to Re: Sharing DBI between threads
in thread Sharing DBI between threads
Every program is a threaded program, even if it only has one thread.
If DBI works correctly in all of those, then if some of them create a second thread:
use DBI; use threads; async { sleep 1 while 1 }->detach; # the rest of the script.
it'll continue to work correctly. Provided you don't use DBI within that other thread!
|
|---|