Blocks :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Thread::muxAcquire and Thread::muxRelease provide a low-level mutual exclusion mechanism. It might be better to remove them and instead use os::PlatformMonitor instead. One tricky part might be initialization, since the "lock" for the mux operations is just an intptr_t, and they can be (and are) a file-scoped static.
|