Re: ECPG, threading and pooling - Mailing list pgsql-hackers

From Lee Kindness
Subject Re: ECPG, threading and pooling
Date
Msg-id 15925.16289.503675.543658@kelvin.csl.co.uk
Whole thread Raw
In response to Re: ECPG, threading and pooling  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
List pgsql-hackers
Shridhar Daithankar writes:> On 27 Jan 2003 at 14:06, Lee Kindness wrote:> > Michael Meskes writes:> >  > Thanks a lot.
Ihave no experience in multithreaded software development> >  > so I cannot completely check your patch but it surely
looksgood. Shall> >  > I commit it, or will you? I think we should get it into CVS for all to> >  > test.> > Problem
withit is it needs some changes to configure.in (and> > associated files) for it to be worthwhile. Checks would need to
be>> added to determine is threads are supported on the build platform and> > the needed compile and link flags. I'm
tryingto get this together for> > libpq too.> Just out of curiosity, what happens when there are more than one
competing> threading libraries? Like native threads and linuxthreads on freeBSD?
 

It's all down to the checks in configure... Looking at many packages
which have threads check in configure (e.g. openldap, mysql, mozilla,
glib, ...) some let the user specify which theading library to use
(e.g --with-threads=linuxthreads (or something)) while others just
seem to pick up the first available...

To be honest I am quite daunted by the checks needed (every other
package seems to be doing the check differently!) and any/all help
would be welcome!

L.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Switching connection on the fly
Next
From: "Shridhar Daithankar"
Date:
Subject: Re: Switching connection on the fly