Re: A libpq++ question.
От | Randall Jonasz |
---|---|
Тема | Re: A libpq++ question. |
Дата | |
Msg-id | Pine.BSF.4.21.0108201757290.80307-100000@nietzsche.jaded.net обсуждение исходный текст |
Ответ на | A libpq++ question. ("Hicnar" <hicnar@wp.pl>) |
Список | pgsql-general |
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 > >
В списке pgsql-general по дате отправления: