Slow performance Win7/64

Daniel Colascione
Sat Jul 30 21:53:00 GMT 2011

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Cygwin mailing list