summaryrefslogtreecommitdiff
path: root/pthread
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2008-06-07 15:23:00 +0000
committerNeal H. Walfield <neal@gnu.org>2008-06-07 15:23:00 +0000
commite59767048830a9a4c8f541aa86c925f767c04bfb (patch)
tree054291994fa7fd90e6f2fe755338f91f60f16755 /pthread
parentc7e4a8e5fa992c489aa7bc7153fb8208b7270cb0 (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 'pthread')
-rw-r--r--pthread/pt-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread/pt-internal.h b/pthread/pt-internal.h
index 5583dfc3..d9bf7bc1 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. */