A libpq++ question.
A libpq++ question.
От:
"Hicnar" <hicnar@wp.pl>
Дата:
Hi all, My question is: Is this library thread safe??? Has anybody ever tried to use objects from this lib in multiple threads??? Regards Hicnar
Re: A libpq++ question.
От:
Randall Jonasz <rjonasz@click2net.com>
Дата:
I know this is late but ... I've used libpq++ in a couple of multi threaded prjects without a problem. Just make sure each thread which communicates to the backend has its own connection, i.e. don't have more than one thread accessing the same connection at a time. Cheers, Randy Software Engineer Click2net Inc. 201-1599 Hurontario St. Mississauga ON Canada Everything becomes so easily structured when you take the C++ approach. But on the other hand, those who "code first, think later" probably should stick to C. On Tue, 14 Aug 2001, Hicnar wrote: > Hi all, > > My question is: > Is this library thread safe??? > Has anybody ever tried to use objects from this lib in multiple threads??? > > Regards > Hicnar > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > >