summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2008-06-07 15:25:02 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-04-07 23:17:36 +0200
commite1e18be3d956df4b0b9cbbc67af1727c8742a294 (patch)
tree5aaa71317cd8f58496583ab76d6a5c07af0cb98c
parent4ea9cbe154365e4b2e4a165c089aaaabfe3a0117 (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--ChangeLog6
-rw-r--r--pthread/pt-internal.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4e5b4c8..9b0628b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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-06-05 Neal H. Walfield <neal@gnu.org>
* sysdeps/l4/hurd/pt-thread-alloc.c (__pthread_thread_alloc):
diff --git a/pthread/pt-internal.h b/pthread/pt-internal.h
index 853d739..53e49e0 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. */