diff options
author | Mark Johannes <Mark.Johannes@OARcorp.com> | 1996-08-13 20:50:54 +0000 |
---|---|---|
committer | Mark Johannes <Mark.Johannes@OARcorp.com> | 1996-08-13 20:50:54 +0000 |
commit | 456b3769407f97ffb767f91d69435eb240c37a96 (patch) | |
tree | f8b7951cd9ffe32a430144f2c7a0c53308f3f3d1 /cpukit/posix/src/cond.c | |
parent | removed count from Thread_queue_Control (diff) | |
download | rtems-456b3769407f97ffb767f91d69435eb240c37a96.tar.bz2 |
pthread_cond_destroy: EBUSY case now uses Thread_queue_First
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/cond.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/cond.c b/cpukit/posix/src/cond.c index 878325acc9..e7e03c6e6d 100644 --- a/cpukit/posix/src/cond.c +++ b/cpukit/posix/src/cond.c @@ -261,7 +261,7 @@ int pthread_cond_destroy( &the_cond->Object ); - if ( _Thread_queue_Get_number_waiting( &the_cond->Wait_queue ) ) + if ( _Thread_queue_First( &the_cond->Wait_queue ) ) return EBUSY; _POSIX_Condition_variables_Free( the_cond ); |