wq 47 maint/gnulib/lib/windows-cond.c glwthread_waitqueue_init (glwthread_waitqueue_t *wq) wq 49 maint/gnulib/lib/windows-cond.c wq->wq_list.wql_next = &wq->wq_list; wq 50 maint/gnulib/lib/windows-cond.c wq->wq_list.wql_prev = &wq->wq_list; wq 56 maint/gnulib/lib/windows-cond.c glwthread_waitqueue_add (glwthread_waitqueue_t *wq) wq 82 maint/gnulib/lib/windows-cond.c (elt->link.wql_prev = wq->wq_list.wql_prev)->wql_next = &elt->link; wq 83 maint/gnulib/lib/windows-cond.c (elt->link.wql_next = &wq->wq_list)->wql_prev = &elt->link; wq 91 maint/gnulib/lib/windows-cond.c glwthread_waitqueue_remove (glwthread_waitqueue_t *wq, wq 111 maint/gnulib/lib/windows-cond.c glwthread_waitqueue_notify_first (glwthread_waitqueue_t *wq) wq 113 maint/gnulib/lib/windows-cond.c if (wq->wq_list.wql_next != &wq->wq_list) wq 116 maint/gnulib/lib/windows-cond.c (struct glwthread_waitqueue_element *) wq->wq_list.wql_next; wq 121 maint/gnulib/lib/windows-cond.c prev = &wq->wq_list; /* = elt->link.wql_prev; */ wq 136 maint/gnulib/lib/windows-cond.c glwthread_waitqueue_notify_all (glwthread_waitqueue_t *wq) wq 140 maint/gnulib/lib/windows-cond.c for (l = wq->wq_list.wql_next; l != &wq->wq_list; ) wq 148 maint/gnulib/lib/windows-cond.c prev = &wq->wq_list; /* = elt->link.wql_prev; */ wq 161 maint/gnulib/lib/windows-cond.c if (!(wq->wq_list.wql_next == &wq->wq_list wq 162 maint/gnulib/lib/windows-cond.c && wq->wq_list.wql_prev == &wq->wq_list)) wq 36 maint/gnulib/lib/windows-rwlock.c glwthread_waitqueue_init (glwthread_waitqueue_t *wq) wq 38 maint/gnulib/lib/windows-rwlock.c wq->array = NULL; wq 39 maint/gnulib/lib/windows-rwlock.c wq->count = 0; wq 40 maint/gnulib/lib/windows-rwlock.c wq->alloc = 0; wq 41 maint/gnulib/lib/windows-rwlock.c wq->offset = 0; wq 47 maint/gnulib/lib/windows-rwlock.c glwthread_waitqueue_add (glwthread_waitqueue_t *wq) wq 52 maint/gnulib/lib/windows-rwlock.c if (wq->count == wq->alloc) wq 54 maint/gnulib/lib/windows-rwlock.c unsigned int new_alloc = 2 * wq->alloc + 1; wq 56 maint/gnulib/lib/windows-rwlock.c (HANDLE *) realloc (wq->array, new_alloc * sizeof (HANDLE)); wq 62 maint/gnulib/lib/windows-rwlock.c if (wq->offset > 0) wq 64 maint/gnulib/lib/windows-rwlock.c unsigned int old_count = wq->count; wq 65 maint/gnulib/lib/windows-rwlock.c unsigned int old_alloc = wq->alloc; wq 66 maint/gnulib/lib/windows-rwlock.c unsigned int old_offset = wq->offset; wq 76 maint/gnulib/lib/windows-rwlock.c wq->offset = 0; wq 78 maint/gnulib/lib/windows-rwlock.c wq->array = new_array; wq 79 maint/gnulib/lib/windows-rwlock.c wq->alloc = new_alloc; wq 87 maint/gnulib/lib/windows-rwlock.c index = wq->offset + wq->count; wq 88 maint/gnulib/lib/windows-rwlock.c if (index >= wq->alloc) wq 89 maint/gnulib/lib/windows-rwlock.c index -= wq->alloc; wq 90 maint/gnulib/lib/windows-rwlock.c wq->array[index] = event; wq 91 maint/gnulib/lib/windows-rwlock.c wq->count++; wq 97 maint/gnulib/lib/windows-rwlock.c glwthread_waitqueue_notify_first (glwthread_waitqueue_t *wq) wq 99 maint/gnulib/lib/windows-rwlock.c SetEvent (wq->array[wq->offset + 0]); wq 100 maint/gnulib/lib/windows-rwlock.c wq->offset++; wq 101 maint/gnulib/lib/windows-rwlock.c wq->count--; wq 102 maint/gnulib/lib/windows-rwlock.c if (wq->count == 0 || wq->offset == wq->alloc) wq 103 maint/gnulib/lib/windows-rwlock.c wq->offset = 0; wq 108 maint/gnulib/lib/windows-rwlock.c glwthread_waitqueue_notify_all (glwthread_waitqueue_t *wq) wq 112 maint/gnulib/lib/windows-rwlock.c for (i = 0; i < wq->count; i++) wq 114 maint/gnulib/lib/windows-rwlock.c unsigned int index = wq->offset + i; wq 115 maint/gnulib/lib/windows-rwlock.c if (index >= wq->alloc) wq 116 maint/gnulib/lib/windows-rwlock.c index -= wq->alloc; wq 117 maint/gnulib/lib/windows-rwlock.c SetEvent (wq->array[index]); wq 119 maint/gnulib/lib/windows-rwlock.c wq->count = 0; wq 120 maint/gnulib/lib/windows-rwlock.c wq->offset = 0; wq 46 maint/gnulib/lib/windows-timedrwlock.c glwthread_waitqueue_init (glwthread_waitqueue_t *wq) wq 48 maint/gnulib/lib/windows-timedrwlock.c wq->wq_list.wql_next = &wq->wq_list; wq 49 maint/gnulib/lib/windows-timedrwlock.c wq->wq_list.wql_prev = &wq->wq_list; wq 50 maint/gnulib/lib/windows-timedrwlock.c wq->count = 0; wq 56 maint/gnulib/lib/windows-timedrwlock.c glwthread_waitqueue_add (glwthread_waitqueue_t *wq) wq 82 maint/gnulib/lib/windows-timedrwlock.c (elt->link.wql_prev = wq->wq_list.wql_prev)->wql_next = &elt->link; wq 83 maint/gnulib/lib/windows-timedrwlock.c (elt->link.wql_next = &wq->wq_list)->wql_prev = &elt->link; wq 84 maint/gnulib/lib/windows-timedrwlock.c wq->count++; wq 92 maint/gnulib/lib/windows-timedrwlock.c glwthread_waitqueue_remove (glwthread_waitqueue_t *wq, wq 104 maint/gnulib/lib/windows-timedrwlock.c wq->count--; wq 113 maint/gnulib/lib/windows-timedrwlock.c glwthread_waitqueue_notify_first (glwthread_waitqueue_t *wq) wq 115 maint/gnulib/lib/windows-timedrwlock.c if (wq->wq_list.wql_next != &wq->wq_list) wq 118 maint/gnulib/lib/windows-timedrwlock.c (struct glwthread_waitqueue_element *) wq->wq_list.wql_next; wq 123 maint/gnulib/lib/windows-timedrwlock.c prev = &wq->wq_list; /* = elt->link.wql_prev; */ wq 129 maint/gnulib/lib/windows-timedrwlock.c wq->count--; wq 139 maint/gnulib/lib/windows-timedrwlock.c glwthread_waitqueue_notify_all (glwthread_waitqueue_t *wq) wq 143 maint/gnulib/lib/windows-timedrwlock.c for (l = wq->wq_list.wql_next; l != &wq->wq_list; ) wq 151 maint/gnulib/lib/windows-timedrwlock.c prev = &wq->wq_list; /* = elt->link.wql_prev; */ wq 157 maint/gnulib/lib/windows-timedrwlock.c wq->count--; wq 165 maint/gnulib/lib/windows-timedrwlock.c if (!(wq->wq_list.wql_next == &wq->wq_list wq 166 maint/gnulib/lib/windows-timedrwlock.c && wq->wq_list.wql_prev == &wq->wq_list wq 167 maint/gnulib/lib/windows-timedrwlock.c && wq->count == 0))