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.
signature.asc
Description: OpenPGP digital signature