diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-24 04:01:06 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-24 04:01:06 +0000 |
| commit | f1ea3dc717906eaf2ebcf4d1251312099636cc08 (patch) | |
| tree | d25d3c6e4e71e72f48f581516593e6a0e2a8e531 /libjava/posix-threads.cc | |
| parent | 5701cb15a558f17afe145e06ab59f863944c36a0 (diff) | |
| download | ppe42-gcc-f1ea3dc717906eaf2ebcf4d1251312099636cc08.tar.gz ppe42-gcc-f1ea3dc717906eaf2ebcf4d1251312099636cc08.zip | |
* boehm.cc: Undefine TRUE and FALSE.
* posix-threads.cc (_Jv_CondWait): Use ETIMEDOUT, not ETIME.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28810 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/posix-threads.cc')
| -rw-r--r-- | libjava/posix-threads.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/posix-threads.cc b/libjava/posix-threads.cc index 791c43bc7bb..7e721c57711 100644 --- a/libjava/posix-threads.cc +++ b/libjava/posix-threads.cc @@ -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; |

