This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]