4 ms·
You can easily implement malloc. I don't understand what relevance with this your paragraph has. C11 has atomics and all the necessary primitives, fences, lock
by dsfuoi 10y ago
You can easily implement malloc. I don't understand what relevance with this your paragraph has.
C11 has atomics and all the necessary primitives, fences, locking, etc..., to implement pthread_mutex, including its own mutex.