You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this! Sorry for the incredibly late response. The mutex isn't being used at the moment, but I'll try to add these system calls anyways though just so it's usable if it's ever needed.
https://en.m.wikipedia.org/wiki/Memory_barrier#Multithreaded_programming_and_memory_visibility
You need mfence/lfence/sfence before mutex_lock() returns, and before unlock() returns.
The text was updated successfully, but these errors were encountered: