We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 49c8a5e + 5d43c89 commit 485507cCopy full SHA for 485507c
src/unix/bsd/apple/mod.rs
@@ -3980,6 +3980,7 @@ extern "C" {
3980
pub fn mach_thread_self() -> mach_port_t;
3981
pub fn pthread_setname_np(name: *const ::c_char) -> ::c_int;
3982
pub fn pthread_getname_np(thread: ::pthread_t, name: *mut ::c_char, len: ::size_t) -> ::c_int;
3983
+ pub fn pthread_mach_thread_np(thread: ::pthread_t) -> ::mach_port_t;
3984
pub fn pthread_from_mach_thread_np(port: ::mach_port_t) -> ::pthread_t;
3985
pub fn pthread_get_stackaddr_np(thread: ::pthread_t) -> *mut ::c_void;
3986
pub fn pthread_get_stacksize_np(thread: ::pthread_t) -> ::size_t;
0 commit comments