3 ms·
Semaphores also lack a notion of ownership, which makes tasks like detecting/debugging deadlocks and remedying priority inversion more difficult.
by twoodfin 9y ago
Semaphores also lack a notion of ownership, which makes tasks like detecting/debugging deadlocks and remedying priority inversion more difficult.
- exDM69 9y agoIndeed. When you have a mutex+condition, you can add instrumentation like logging or timers for debugging, testing and verification purposes.