result. PR 40.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28799
138bc75d-0d04-0410-961f-
82ee72b054a4
+1999-08-21 Tom Tromey <tromey@cygnus.com>
+
+ * posix-threads.cc (_Jv_CondWait): Treat a timeout as a normal
+ result. PR 40.
+
1999-08-21 Alexandre Oliva <oliva@dcc.unicamp.br>
* configure.in: Check for in_addr_t in netinet/in.h too. Check
ts.tv_nsec = ((m % 1000) * 1000000) + nanos;
r = pthread_cond_timedwait (cv, pmu, &ts);
+ /* A timeout is a normal result. */
+ if (r && errno == ETIME)
+ r = 0;
}
return r;
}