diff options
author | Neal H. Walfield <neal@gnu.org> | 2008-06-07 15:23:00 +0000 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2008-06-07 15:23:00 +0000 |
commit | 9830b3b2eb53aa7ad2eeb4cc11fbb44ba323cf4e (patch) | |
tree | 921e8744dc9aae1f2dbf182a8af6f815e32c55d4 | |
parent | 542a455d6c2da2eac68f9c4f45604af85008443a (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-- | ChangeLog | 6 | ||||
-rw-r--r-- | pthread/pt-internal.h | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2008-06-07 Neal H. Walfield <neal@gnu.org> + + * pthread/pt-internal.h (__pthread_queue_iterate): Use 1, not + true. + (__pthread_dequeuing_iterate): Likewise. + 2008-05-27 Neal H. Walfield <neal@gnu.org> * pthread/pt-internal.h (__pthread_queue_iterate): Before diff --git a/pthread/pt-internal.h b/pthread/pt-internal.h index 5583dfc..d9bf7bc 100644 --- a/pthread/pt-internal.h +++ b/pthread/pt-internal.h @@ -118,7 +118,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 @@ -128,7 +128,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. */ |