From 9830b3b2eb53aa7ad2eeb4cc11fbb44ba323cf4e Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Sat, 7 Jun 2008 15:23:00 +0000 Subject: 2008-06-07 Neal H. Walfield * pthread/pt-internal.h (__pthread_queue_iterate): Use 1, not true. (__pthread_dequeuing_iterate): Likewise. --- ChangeLog | 6 ++++++ pthread/pt-internal.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 89209aa..e21d34a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-06-07 Neal H. Walfield + + * pthread/pt-internal.h (__pthread_queue_iterate): Use 1, not + true. + (__pthread_dequeuing_iterate): Likewise. + 2008-05-27 Neal H. Walfield * 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. */ -- cgit v1.2.3