Skip to content
Snippets Groups Projects
Commit 2423dece authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Remove some cruft.

parent c41d1762
No related branches found
No related tags found
No related merge requests found
Pipeline #5293 canceled
...@@ -20,8 +20,6 @@ rwlock_init(rwlock_t *lock) ...@@ -20,8 +20,6 @@ rwlock_init(rwlock_t *lock)
BOOL BOOL
rwlock_rdlock(rwlock_t *lock) rwlock_rdlock(rwlock_t *lock)
{ {
DWORD obj;
EnterCriticalSection(&lock->lk); EnterCriticalSection(&lock->lk);
while(lock->writers || lock->writers_waiting) { while(lock->writers || lock->writers_waiting) {
LeaveCriticalSection(&lock->lk); LeaveCriticalSection(&lock->lk);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment