26 Apr
2024
26 Apr
'24
6:25 p.m.
David Bien wrote:
Sure, but then there must be a bug in my code... do you see one? It's pretty simple - and once again has worked for many weeks of testing under other platforms.
No, I don't see a bug in the code you posted. (Assuming that m_thread is joinable and executes _CleanupThread.) Incidentally, underscore followed by a capital letter is reserved to the implementation and you're not supposed to use such identifiers.
________________________________
From: Peter Dimov
Sent: Friday, April 26, 2024 11:15 AM To: 'David Bien' ; boost@lists.boost.org Subject: RE: [boost] BOOST_THREAD_HAS_EINTR_BUG... David Bien wrote:
When it aborts the return is EBUSY.
EBUSY means that you're destroying a locked mutex, so the abort is legitimate.