Re: [HACKERS] ECPG thread-safety

2003-06-02 Thread Shridhar Daithankar
On 1 Jun 2003 at 11:10, Manfred Spraul wrote: > Shridhar Daithankar wrote: > > >2) Native freeBSD threads > >pthread.h in /usr/include and lc_r > > > > > > > Do you know if FreeBSD supports pthread_rwlock with > PTHREAD_PROCESS_SHARED? I'm trying to replace the LWLocks with > pthread_rwlocks.

Re: [HACKERS] ECPG thread-safety

2003-06-01 Thread Manfred Spraul
Shridhar Daithankar wrote: 2) Native freeBSD threads pthread.h in /usr/include and lc_r Do you know if FreeBSD supports pthread_rwlock with PTHREAD_PROCESS_SHARED? I'm trying to replace the LWLocks with pthread_rwlocks. What about other Unices? -- Manfred ---(end o

Re: [HACKERS] ECPG thread-safety

2003-03-28 Thread Bruce Momjian
Yep. I need someone who knows these OS's to get some tests together. --- Shridhar Daithankar wrote: > On Friday 28 March 2003 21:45, you wrote: > > For testing the library, I think it is enough to init an thread attr. like

Re: [HACKERS] ECPG thread-safety

2003-03-28 Thread Shridhar Daithankar
On Friday 28 March 2003 21:45, you wrote: > For testing the library, I think it is enough to init an thread attr. like > pthread_init_attr, that should be enough to test header and library. And compiler flags, I forgot.. -pthread on freeBSD/gcc and -D_REENTRANT on linux at least. FreeBSD needs _T

Re: [HACKERS] ECPG thread-safety

2003-03-28 Thread Shridhar Daithankar
On Friday 28 March 2003 21:30, you wrote: > Would someone take those patches and hunt around for proper 'configure' > tests? I can do the configure coding, but I don't know what tests to > make. > > http://services.csl.co.uk/postgresql/ I also need configure tests for thread for one of my o

Re: [HACKERS] ECPG thread-safety

2003-03-28 Thread Lee Kindness
I must have spent at least a day looking at configure threads tests the past few months. Look at the tests in Python, OpenLDAP, MySQL, Apache 2.0, Perl, ... each and everyone of them is different! Ouch. Way above my experience in configure. One of the packages (sorry cannot find my notes on which