timerfd deadlock

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jun 11 08:52:00 GMT 2019

On Jun  7 12:10, Ken Brown wrote:
> While testing some new pipe code, I'm occasionally seeing a timerfd deadlock: 
> The main thread is stuck in timerfd_tracker::dtor at timerfd.cc:354, waiting for 
> the timerfd thread to close; and the timerfd thread is stuck at timerfd.cc:140, 
> waiting to acquire a mutex that's held by timerfd_tracker::dtor.

Hmm, I had hoped my current code does not have a deadlock situation
anymore, but I was wrong, apparently.

Is there any chance to create an STC?


Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20190611/f8f2562f/attachment.sig>

More information about the Cygwin mailing list