diff options
author | Neal H. Walfield <neal@gnu.org> | 2008-06-07 15:25:02 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-04-07 23:17:36 +0200 |
commit | 087d4b47215d95828863334b96edaad262ff6d02 (patch) | |
tree | da1e78c52d9ed9d939aa50daf93d421dad2b1f67 | |
parent | 7b6b0d0cb32b5501baee7277cedf66716e81e03f (diff) |
2008-06-07 Neal H. Walfield <neal@gnu.org>
* pthread/pt-internal.h (__pthread_queue_iterate): Use 1, not
true.
(__pthread_dequeuing_iterate): Likewise.
-rw-r--r-- | pthread/pt-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread/pt-internal.h b/pthread/pt-internal.h index 853d739d..53e49e02 100644 --- a/pthread/pt-internal.h +++ b/pthread/pt-internal.h @@ -126,7 +126,7 @@ __pthread_dequeue (struct __pthread *thread) for (struct __pthread *__pdi_next = (queue); \ ((element) = __pdi_next) \ && ((__pdi_next = __pdi_next->next), \ - true); \ + 1); \ ) /* Iterate over QUEUE dequeuing each element, storing it in @@ -136,7 +136,7 @@ __pthread_dequeue (struct __pthread *thread) ((element) = __pdi_next) \ && ((__pdi_next = __pdi_next->next), \ ((element)->prevp = 0), \ - true); \ + 1); \ ) /* The total number of threads currently active. */ |