diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-03-08 03:47:34 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-03-08 03:47:34 +0000 |
commit | 5cdcbd22d1389fa88e7d6f3a2ef27e3b0b47da1d (patch) | |
tree | 1c7125080fcb9638d8854df82de40bae411e89db /cpukit/posix/src/cond.c | |
parent | Modifications to make go32 build using new i386-go32-rtems toolset (diff) | |
download | rtems-5cdcbd22d1389fa88e7d6f3a2ef27e3b0b47da1d.tar.bz2 |
Added commit to indicate exepcted _Thread_Dispatch_disable_level. Hopefully
no one will ever get confused here again and try to enable dispatching. :(
Diffstat (limited to '')
-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; |