Commit graph

3 commits

Author SHA1 Message Date
e9b4f8e389 mutex(fix): prevent race condition (part 2)
In addition to the previous commit, this commit makes threads need to
wait for the thread manager to say it took the mutex from them before
they can ask for it again.
2024-11-19 15:12:42 -08:00
d9b9d82c79 mutex(fix): prevents a potential race condition where threads could
skip waiting for the manager to give them the mutex

The solution was to remove write access from threads to the
manager_took_mutex variable
2024-11-19 13:48:43 -08:00
77861709f8 initial commit 2024-11-19 06:37:12 -08:00