|
|
|
|
|
by wuch
3246 days ago
|
|
I think you are looking at the side that does the reading. I was actually thinking about the other side that does the writing (inside pthread_mutex_init), where those two things are not separated by any function calls and are more readily reordered.
Not to mention that it would be problematic on architectures with relaxed memory model either way. |
|