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:
Tom Tromey 1999-08-24 04:01:06 +00:00 committed by Tom Tromey
parent 7b5efe21a0
commit 657ac7664c
3 changed files with 12 additions and 1 deletions

View file

@ -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;