Currently, if the callee holds the stream lock, the handlers (lines 780 - 783) are called with the stream lock locked although the lock is being unlocked (line 778) because it is recursive. This might result in a deadlock (see discussion #247 ).

Either the stream lock (line 690) has to be non-recursive or the callback processing needs to be delegated to the worker thread pool.


Reply to this email directly or view it on GitHub.



Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1