custom-malloc icon indicating copy to clipboard operation
custom-malloc copied to clipboard

pthread_mutex_unlock

Open ghost opened this issue 6 years ago • 0 comments

What alternatives could be used to the pthreads mutex, and how exactly is this pthread_mutex_unlock achieves its end goal.

I'm aware of the Unix method of Mutex, another solution could be to have a heap allocated to each CPU Core, which would be ideal if each core was assigned to a different task.

Would hyper-threading cause any unforeseen issues in such an implementation though I wonder?

ghost avatar Nov 07 '18 11:11 ghost