This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Chris - a question for you
----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
To: <cygwin-developers@cygwin.com>
Sent: Tuesday, April 10, 2001 1:48 AM
Subject: Re: Chris - a question for you
> On Mon, Apr 09, 2001 at 08:32:18PM +1000, Robert Collins wrote:
> >Chris,
> > Are mtsafe support and the ALLOW_PTH in cygwin.din linked? I ask
> >because of all the empty functions in the bottom of pthread.cc. It
would
> >be nice to just zap that whole list and simply not export the
functions
> >if cygwin is built non mt safe.
> >
> >If they aren't linked (ie non mtsafe and ALLOW_PTH is a valid
> >combination today) can we link them and disable pthread function
exports
> >when non-mtsafe?
>
> Experiment with turning on/off thread support. PTH_ALLOW puts a
comment
> in front of the functions when threading is turned off.
>
> cgf
>
Ok, so they are linked. mt_safe => PTH_ALLOW ='' ,
!mt_safe=>PTH_ALLOW=';l'. In that case I'd like to remove the stub calls
in thread.cc as they are no longer needed.
Rob