dll_entry [was Re: fork expert needed: (was .....])

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


On Mon, Apr 16, 2001 at 10:34:22PM +0930, Trevor Forbes wrote:
>----- Original Message -----
>From: "Christopher Faylor" <cgf@redhat.com>
>>
>> > Robert Collins wrote:
>> >Also while MSDN states that only one thread at a time can call the
>> >entry point function, it does not state or imply that other threads are
>> >suspended during that process.
>>
>> Ok, I reluctantly stand corrected.  I thought that both the MSDN and
>> my own personal experience (waiting for a signal from Cygwi's signal
>> thread that never arrived) said this.  I couldn't find any reference
>> to this, though.
>
>Moved thread  location.....
>
>The system serializes calls to the dll entry point function and "it
>suspends" the other related threads during the process.
>(Jeffery Richer - Microsoft Press)
>
>The attached patch can avoid the bottleneck but it may introduce new/old
>problems.

What bottleneck are we eliminating?  No one has mentioned a bottleneck.
You seem to be fixing a non-problem.

cgf



More information about the Cygwin-developers mailing list