zlacker

[parent] [thread] 1 comments
1. djha-s+(OP)[view] [source] 2023-12-31 14:17:09
That mutex gets cleaned up because thread interruption is implemented as an exception, so the `finally` block would be able to take care of the mutex.
replies(1): >>keving+lR
2. keving+lR[view] [source] 2023-12-31 21:02:23
>>djha-s+(OP)
this is only true if the mutex is guarded by a finally block. your thread could be calling anything, including user-space code written in C that holds a mutex.
[go to top]