Search Postgresql Archives

Re: Win32 libpq and ecpg thread safety

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux