| ▲ | mgaunard 11 hours ago | ||||||||||||||||||||||||||||||||||
The very idea of a mutex is that it is synchronous. You wait until you can acquire the mutex. If it's asynchronous, it's not a mutex anymore, or it's just used to synchronously setup some other asynchronous mechanism. | |||||||||||||||||||||||||||||||||||
| ▲ | gpderetta 10 hours ago | parent [-] | ||||||||||||||||||||||||||||||||||
A mutex is a way to guarantee mutual exclusion nothing more nothing less; You can recover synchronous behaviour if you really want: | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||