|
|
|
|
|
by kazinator
213 days ago
|
|
ISO C has had mutexes since C11 I think. In any case, you could use the provided primitives to wrap the C11 mutex, or any other mutex. With some clever #ifdef, you can probably have a single or multithreaded build switch at compile time which makes all the mutex stuff do nothing. |
|