sahvx655-wq commented on PR #707:
URL: https://github.com/apache/logging-log4cxx/pull/707#issuecomment-4632701412

   Sorry, I'd left it out of the commit. Pushed it now as 
testNoDeadlockDuringTaskExecution in threadutilitytestcase.cpp.
   
   It adds a periodic task whose callback blocks (standing in for a reconnect 
stuck on network I/O), waits for the callback to start, then times 
removePeriodicTask() while that callback is still running. Without the change 
removePeriodicTask() blocks on job_mutex until the callback returns; with it 
the removal comes back in a few ms. Runs green here alongside the existing 
cases.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to