|
|
|
|
|
by claytonwramsey
903 days ago
|
|
If you’re willing to implement your own mutex, it actually is possible to enforce! You could make disabling interrupts emit a token and then require the mutex to accept that token as a parameter to its locking behavior. |
|