summaryrefslogtreecommitdiff
path: root/libpthread/pthread
diff options
context:
space:
mode:
authorneal <neal>2008-06-07 15:25:01 +0000
committerneal <neal>2008-06-07 15:25:01 +0000
commit2e2af7bccb6d638f1687f565a207c5ddb4682885 (patch)
tree7b7b76537123337d9a64405605c7dac0aed617d7 /libpthread/pthread
parentb99fb63f993994afa7d1bec9c824855a13f47521 (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.
Diffstat (limited to 'libpthread/pthread')
-rw-r--r--libpthread/pthread/pt-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/pthread/pt-internal.h b/libpthread/pthread/pt-internal.h
index 853d739..53e49e0 100644
--- a/libpthread/pthread/pt-internal.h
+++ b/libpthread/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. */