It uses memory_order_relaxed only inside the locked area. The rest uses strong memory ordering.
@bbockelm even with the exchange above this is not thread safe since a FileStateHandler might already hold a pointer to the PostMaster which is going to be deleted.

So, I don't know exactly what was the initial idea here ... maybe @ljanyst knows more?


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