From 5cdcbd22d1389fa88e7d6f3a2ef27e3b0b47da1d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 8 Mar 1997 03:47:34 +0000 Subject: Added commit to indicate exepcted _Thread_Dispatch_disable_level. Hopefully no one will ever get confused here again and try to enable dispatching. :( --- c/src/exec/posix/src/cond.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'c/src/exec/posix/src/cond.c') 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; -- cgit v1.2.3