Skip to content
Snippets Groups Projects
Commit f36ddb9f authored by Deucе's avatar Deucе 👌🏾
Browse files

Fix rwlock_unlock() and rwlock_rdlock() recursion.

It would be nice to use TLS for the recusrion counter, but on Windows,
it looks like TLS in threads created after the object is created is
uninitialized, so we would need some kind of thread start hook thingie
which just seems like too much work.

Instead, rely on the old standby single-linked list to track.
parent 82b89922
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment