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