From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Shridhar Daithankar <shridhar_daithankar(at)persistent(dot)co(dot)in> |
Cc: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] ECPG thread-safety |
Date: | 2003-05-26 17:06:36 |
Message-ID: | 200305261706.h4QH6aB06687@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-interfaces pgsql-patches |
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
> > 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 _THREAD_SAFE as well IIRC.
Are you saying FreeBSD actually has a -pthread compiler flag? And Linux
needs REENTRANT. We can do that. Here is an updated patch. Of course,
I need to run autoconf too.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 2.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2003-05-26 17:32:03 | Re: [HACKERS] ECPG thread-safety |
Previous Message | Bruce Momjian | 2003-05-26 17:01:49 | Re: [HACKERS] ECPG thread-safety |
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2003-05-26 17:32:03 | Re: [HACKERS] ECPG thread-safety |
Previous Message | Tom Lane | 2003-05-26 17:05:19 | Re: Race condition with libpq |
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2003-05-26 17:32:03 | Re: [HACKERS] ECPG thread-safety |
Previous Message | Bruce Momjian | 2003-05-26 17:01:49 | Re: [HACKERS] ECPG thread-safety |