Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <025401c0c143$e3bc9350$0200a8c0@lifelesswks> From: "Robert Collins" To: References: <00b201c0c0e0$5b948040$0200a8c0 AT lifelesswks> <20010409114811 DOT D29051 AT redhat DOT com> Subject: Re: Chris - a question for you Date: Tue, 10 Apr 2001 08:24:47 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 09 Apr 2001 22:18:16.0735 (UTC) FILETIME=[F9AEAAF0:01C0C142] ----- Original Message ----- From: "Christopher Faylor" To: 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