diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/conddestroy.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/posix/src/conddestroy.c b/cpukit/posix/src/conddestroy.c index 79c50232eb..c6696f506c 100644 --- a/cpukit/posix/src/conddestroy.c +++ b/cpukit/posix/src/conddestroy.c @@ -43,7 +43,12 @@ int pthread_cond_destroy( case OBJECTS_LOCAL: - if ( _Thread_queue_First( &the_cond->Wait_queue ) ) { + if ( + _Thread_queue_First( + &the_cond->Wait_queue, + POSIX_CONDITION_VARIABLES_TQ_OPERATIONS + ) + ) { _Objects_Put( &the_cond->Object ); _Objects_Allocator_unlock(); return EBUSY; |