(__old_sem_wait): Likewise.
authordrepper <drepper>
Tue, 10 Apr 2001 21:09:57 +0000 (21:09 +0000)
committerdrepper <drepper>
Tue, 10 Apr 2001 21:09:57 +0000 (21:09 +0000)
linuxthreads/oldsemaphore.c

index da5272c..2099b8b 100644 (file)
@@ -144,7 +144,7 @@ int __old_sem_wait(old_sem_t * sem)
                    }
                }
            }
-            pthread_exit(PTHREAD_CANCELED);
+            __pthread_do_exit(PTHREAD_CANCELED, CURRENT_STACK_FRAME);
        }
     }
 }