Loading...
pthreads.subproj/pthread_cond.c Libc-186 Libc-167
--- Libc/Libc-186/pthreads.subproj/pthread_cond.c
+++ Libc/Libc-167/pthreads.subproj/pthread_cond.c
@@ -295,8 +295,7 @@
     if ((res = pthread_mutex_lock(mutex)) != ESUCCESS) {
         return (res);
     }
-    /* KERN_ABORTED can be treated as a spurious wakeup */
-    if ((kern_res == KERN_SUCCESS) || (kern_res == KERN_ABORTED)) {
+    if (kern_res == KERN_SUCCESS) {
         return (ESUCCESS);
     } else if (kern_res == KERN_OPERATION_TIMED_OUT) {
         return (ETIMEDOUT);