diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2017-09-26 21:29:14 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2017-09-26 21:29:14 +0200 |
commit | 64727f50e23a744e1607cb6aff72f0813d56c6c9 (patch) | |
tree | 7be95904b02e37e5f614e5b1f4f7927fde384346 | |
parent | 6bb20b2e064e1e4473683fa6e598e80f4ea8aa00 (diff) |
Avoid exposing mach_port_set_qlimit
* sysdeps/mach/pt-thread-alloc.c (create_wakeupmsg): Call
__mach_port_set_qlimit instead of mach_port_set_qlimit.
-rw-r--r-- | sysdeps/mach/pt-thread-alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/pt-thread-alloc.c b/sysdeps/mach/pt-thread-alloc.c index 77aa933..76e5660 100644 --- a/sysdeps/mach/pt-thread-alloc.c +++ b/sysdeps/mach/pt-thread-alloc.c @@ -56,8 +56,8 @@ create_wakeupmsg (struct __pthread *thread) } /* No need to queue more than one wakeup message on this port. */ - mach_port_set_qlimit (__mach_task_self (), - thread->wakeupmsg.msgh_remote_port, 1); + __mach_port_set_qlimit (__mach_task_self (), + thread->wakeupmsg.msgh_remote_port, 1); return 0; } |