diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-10-06 21:28:18 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-10-06 21:28:18 +0000 |
commit | d14418b6cb9a622790520360d99842cf9557ecf7 (patch) | |
tree | 6f931bf4eddedd9101172ba48a0991eb8ebe082b /c/src/exec/posix/src/cond.c | |
parent | Fixed bug where include not actually created. (diff) | |
download | rtems-d14418b6cb9a622790520360d99842cf9557ecf7.tar.bz2 |
Added _Thread_Enable_dispatch to already_timedout path on Wait_support.
Diffstat (limited to 'c/src/exec/posix/src/cond.c')
-rw-r--r-- | c/src/exec/posix/src/cond.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/exec/posix/src/cond.c b/c/src/exec/posix/src/cond.c index de2e252b95..248f836b94 100644 --- a/c/src/exec/posix/src/cond.c +++ b/c/src/exec/posix/src/cond.c @@ -422,9 +422,10 @@ int _POSIX_Condition_variables_Wait_support( if ( status && status != ETIMEDOUT ) return status; - } - else + } else { + _Thread_Enable_dispatch(); status = ETIMEDOUT; + } /* * When we get here the dispatch disable level is 0. |