Reimplement LBQ on condition variables

This commit is contained in:
Cameron Gutman committed 2021-06-09 19:59:52 -05:00
1 parent 71a267fd28
commit fb9aab0e57
2 files changed
+58 -86

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ typedef struct _LINKED_BLOCKING_QUEUE_ENTRY {
typedef struct _LINKED_BLOCKING_QUEUE {
PLT_MUTEX mutex;
PLT_EVENT containsDataEvent;
PLT_COND cond;
PLINKED_BLOCKING_QUEUE_ENTRY head;
PLINKED_BLOCKING_QUEUE_ENTRY tail;
int sizeBound;