Chris - a question for you

Christopher Faylor cgf@redhat.com
Mon Apr 9 08:48:00 GMT 2001


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



More information about the Cygwin-developers mailing list