pthread rwlock bugfixes

This commit is contained in:
Mark Schulte
2017-04-07 15:45:24 -06:00
committed by Gregory Nutt
parent b631dc886f
commit 2b1ca79b4b
4 changed files with 28 additions and 11 deletions
+1
View File
@@ -343,6 +343,7 @@ struct pthread_rwlock_s
pthread_cond_t cv;
unsigned int num_readers;
unsigned int num_writers;
bool write_in_progress;
};
typedef struct pthread_rwlock_s pthread_rwlock_t;