summaryrefslogtreecommitdiff
path: root/proc/stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc/stubs.c')
-rw-r--r--proc/stubs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proc/stubs.c b/proc/stubs.c
index 0b4a2cea..318dc0ba 100644
--- a/proc/stubs.c
+++ b/proc/stubs.c
@@ -47,6 +47,8 @@ blocking_message_send (void *arg)
struct msg_sig_post_request *const req = arg;
error_t err;
+ pthread_setname_np (pthread_self (), "message_send");
+
err = mach_msg (&req->head, MACH_SEND_MSG, sizeof *req, 0,
MACH_PORT_NULL, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);