This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: Slow performance Win7/64


On 7/30/11 2:09 PM, Christopher Faylor wrote:
> I've checked in a change which uses QueueUserAPC to create threads like
> the signal thread.  As everyone has noted this seems to have a salutory
> effect on the OP's test case.
> 
> I don't entirely understand why the code which already existed in Cygwin
> to deal with the "slow performance on win7/64" didn't fix the problem but
> using QueueUserAPC seems to solve the problem so I guess won't lose too
> much sleep over this.

I must be missing something: when exactly do we enter an alertable wait state
that would allow the thread-starting user APC to be delivered? AFAICS, all waits
seem to be of the non-alertable variety.

Attachment: signature.asc
Description: OpenPGP digital signature


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