diff options
Diffstat (limited to 'cpukit/posix')
-rw-r--r-- | cpukit/posix/src/cond.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/posix/src/cond.c b/cpukit/posix/src/cond.c index c480422f19..de2e252b95 100644 --- a/cpukit/posix/src/cond.c +++ b/cpukit/posix/src/cond.c @@ -426,6 +426,10 @@ int _POSIX_Condition_variables_Wait_support( else status = ETIMEDOUT; + /* + * When we get here the dispatch disable level is 0. + */ + mutex_status = pthread_mutex_lock( mutex ); if ( mutex_status ) return EINVAL; |