summaryrefslogtreecommitdiff
path: root/libthreads/cancel-cond.c
diff options
context:
space:
mode:
Diffstat (limited to 'libthreads/cancel-cond.c')
-rw-r--r--libthreads/cancel-cond.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libthreads/cancel-cond.c b/libthreads/cancel-cond.c
index 8a55fba4..317b7244 100644
--- a/libthreads/cancel-cond.c
+++ b/libthreads/cancel-cond.c
@@ -21,8 +21,9 @@ Cambridge, MA 02139, USA. */
#include <cthreads.h>
#include "cthread_internals.h"
+/* Just like condition_wait, but cancellable. Returns true if cancelled. */
int
-hurd_condition_wait_cancel (condition_t c, mutex_t m)
+hurd_condition_wait (condition_t c, mutex_t m)
{
/* This function will be called by hurd_thread_cancel while we are blocked
in the condition_wait. We wake up all threads blocked on C,