[PATCH] Cygwin: timerfd: avoid a deadlock
Ken Brown
kbrown@cornell.edu
Mon Jun 24 20:21:00 GMT 2019
On 6/24/2019 4:19 PM, Ken Brown wrote:
> If a timer expires while the timerfd thread is in its inner loop,
> check for the thread cancellation event before trying to enter
> a_critical_section. It's possible that timerfd_tracker::dtor has
> entered its critical section and is trying to cancel the thread. See
> http://www.cygwin.org/ml/cygwin/2019-06/msg00096.html.
There's a stupid typo ("a_critical_section") above. I'll fix it before
committing, if the patch is accepted.
Ken
More information about the Cygwin-patches
mailing list