Qingqing Zhou wrote:
>
>
>
> On Wed, 26 Oct 2005, Bruce Momjian wrote:
> >
> > If you are asking about Win32-specific threading, there is no
> > documentation about it because it works just like Unix threading. At
> > least, that is what I am told.
> >
>
> So both libpq and ecpg are thread-safe in Win32? I look into the code,
> seems at least ecpg is not, and there is some possible improvements of
> libpq (esp. PTHREAD_MUTEX_INITIALIZER).
As far as I know, both are thread safe, except you have to read the
documention limitations for both of them. If you have improvements, we
would love to see them.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073