Re: [HACKERS] [pgsql-hackers-win32] [PATCHES] Compiling libpq with VisualC

2004-06-11 Thread Andreas Pflug
Bruce Momjian wrote: What is the recommended way to create mutex objects (CreateMutex) from Win32 libraries? There must be a clean way like there is in pthreads. It's having a central one-time called routine executing CreateMutex. This can be DllMain, *if* used as DLL, but that's certainly no sol

Re: [HACKERS] [pgsql-hackers-win32] [PATCHES] Compiling libpq with VisualC

2004-06-11 Thread Bruce Momjian
Andreas Pflug wrote: > Bruce Momjian wrote: > > > > >What is the recommended way to create mutex objects (CreateMutex) from > >Win32 libraries? There must be a clean way like there is in pthreads. > > > > It's having a central one-time called routine executing CreateMutex. > This can be DllMain