summaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/pt-docancel.c2
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-gettype.c1
-rw-r--r--sysdeps/mach/pt-wakeup.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/pt-docancel.c b/sysdeps/mach/hurd/pt-docancel.c
index b3a5507..12bbafb 100644
--- a/sysdeps/mach/hurd/pt-docancel.c
+++ b/sysdeps/mach/hurd/pt-docancel.c
@@ -47,7 +47,7 @@ __pthread_do_cancel (struct __pthread *p)
else
{
error_t err;
-
+
err = __thread_suspend (p->kernel_thread);
assert_perror (err);
diff --git a/sysdeps/mach/hurd/pt-mutexattr-gettype.c b/sysdeps/mach/hurd/pt-mutexattr-gettype.c
index 746f628..754cc04 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-gettype.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-gettype.c
@@ -28,4 +28,3 @@ int pthread_mutexattr_gettype (const pthread_mutexattr_t *attrp, int *outp)
*outp = attrp->__mutex_type;
return (0);
}
-
diff --git a/sysdeps/mach/pt-wakeup.c b/sysdeps/mach/pt-wakeup.c
index 95fdbf9..c2eb9ca 100644
--- a/sysdeps/mach/pt-wakeup.c
+++ b/sysdeps/mach/pt-wakeup.c
@@ -30,7 +30,7 @@ void
__pthread_wakeup (struct __pthread *thread)
{
error_t err;
-
+
err = __mach_msg (&thread->wakeupmsg, MACH_SEND_MSG | MACH_SEND_TIMEOUT,
sizeof (thread->wakeupmsg), 0, MACH_PORT_NULL,
0 , MACH_PORT_NULL);