X-Original-To: pgsql-hackers@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 90612475E77 for ; Fri, 28 Mar 2003 12:04:09 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 2E65647580B for ; Fri, 28 Mar 2003 12:04:08 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h2SH41J15738; Fri, 28 Mar 2003 12:04:01 -0500 (EST) From: Bruce Momjian Message-Id: <200303281704.h2SH41J15738@candle.pha.pa.us> Subject: Re: ECPG thread-safety In-Reply-To: <200303282226.20016.shridhar_daithankar@nospam.persistent.co.in> To: Shridhar Daithankar Date: Fri, 28 Mar 2003 12:04:00 -0500 (EST) Cc: pgsql-hackers@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, hits=-26.0 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/1160 X-Sequence-Number: 37406 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 > > 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. > > Shridhar > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- 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