OSSP CVS Repository

ossp - Difference in ossp-pkg/pth/pthread.c versions 1.61 and 1.62
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/pth/pthread.c 1.61 -> 1.62

--- pthread.c    2002/10/24 15:21:14     1.61
+++ pthread.c    2002/11/05 19:39:09     1.62
@@ -1018,7 +1018,7 @@
     );
     if (!pth_cond_await((pth_cond_t *)(*cond), (pth_mutex_t *)(*mutex), ev))
         return errno;
-    if (pth_event_occurred(ev))
+    if (pth_event_status(ev) == PTH_STATUS_OCCURRED)
         return ETIMEDOUT;
     return OK;
 }

CVSTrac 2.0.1