timerfd deadlock

Ken Brown kbrown@cornell.edu
Fri Jun 7 12:10:00 GMT 2019


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.

I see this maybe 1 out of 4 times that I run 'make -j13' on a clean emacs source 
tree, and I see it only when my new pipe code is installed.  So I don't know if 
this is a bug in my code or if it's just coincidence that my code happens to 
trigger a timerfd bug.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list