boehm.cc: Undefine TRUE and FALSE.
* boehm.cc: Undefine TRUE and FALSE. * posix-threads.cc (_Jv_CondWait): Use ETIMEDOUT, not ETIME. From-SVN: r28810
This commit is contained in:
parent
7b5efe21a0
commit
657ac7664c
3 changed files with 12 additions and 1 deletions
|
@ -92,7 +92,7 @@ _Jv_CondWait (_Jv_ConditionVariable_t *cv, _Jv_Mutex_t *mu,
|
|||
|
||||
r = pthread_cond_timedwait (cv, pmu, &ts);
|
||||
/* A timeout is a normal result. */
|
||||
if (r && errno == ETIME)
|
||||
if (r && errno == ETIMEDOUT)
|
||||
r = 0;
|
||||
}
|
||||
return r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue