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: dll_entry [was Re: fork expert needed: (was .....])


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


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