libpq++ and threads

Поиск
Список
Период
Сортировка
От Glenn MacGregor
Тема libpq++ and threads
Дата
Msg-id 037101c1be04$f0d879f0$4d00a8c0@catamount
обсуждение исходный текст
Ответы Re: libpq++ and threads  (<jtv@xs4all.nl>)
Список pgsql-interfaces
Hi All,

I am new to libpq++ so if this was asked already I am sorry (I have searched
the logs).  I have written a threaded app which I am moving to interface
with a postgres database.  Tha app receives messages and passes each message
to a thread with inserts or updates the database.  I have one pgDatabase
object which all the threads use.  Can these threads all access that object
or do I need to syncronize them?
   Thanks

           Glenn



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Andreas Kretzer
Дата:
Сообщение: Re: pgaccess
Следующее
От:
Дата:
Сообщение: Re: libpq++ and threads