summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/cond.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/posix/src/cond.c')
-rw-r--r--c/src/exec/posix/src/cond.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/cond.c b/c/src/exec/posix/src/cond.c
index c480422f19..de2e252b95 100644
--- a/c/src/exec/posix/src/cond.c
+++ b/c/src/exec/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;