b108d863e2
* Bug fixes
14 lines
391 B
Text
14 lines
391 B
Text
$NetBSD: patch-al,v 1.3 2004/11/30 16:44:47 adam Exp $
|
|
|
|
--- src/ptlib/unix/tlibthrd.cxx.orig 2004-09-02 07:55:44.000000000 +0000
|
|
+++ src/ptlib/unix/tlibthrd.cxx
|
|
@@ -1088,7 +1088,9 @@ void PThread::Sleep(const PTimeInterval
|
|
if (select(0, NULL, NULL, NULL, tval) < 0 && errno != EINTR)
|
|
break;
|
|
|
|
+#ifndef P_NETBSD
|
|
pthread_testcancel();
|
|
+#endif
|
|
|
|
lastTime = PTime();
|
|
}
|