File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,7 @@ fn test_apple(target: &str) {
222222 "netinet/udp.h" ,
223223 "poll.h" ,
224224 "pthread.h" ,
225+ "pthread_spis.h" ,
225226 "pwd.h" ,
226227 "regex.h" ,
227228 "resolv.h" ,
Original file line number Diff line number Diff line change @@ -1822,6 +1822,7 @@ pseudo_AF_RTIP
18221822pseudo_AF_XTP
18231823pthread_attr_getschedparam
18241824pthread_attr_setschedparam
1825+ pthread_create_from_mach_thread
18251826pthread_getschedparam
18261827pthread_setschedparam
18271828pthread_cancel
Original file line number Diff line number Diff line change @@ -4788,6 +4788,12 @@ extern "C" {
47884788 pub fn pthread_getname_np ( thread : :: pthread_t , name : * mut :: c_char , len : :: size_t ) -> :: c_int ;
47894789 pub fn pthread_mach_thread_np ( thread : :: pthread_t ) -> :: mach_port_t ;
47904790 pub fn pthread_from_mach_thread_np ( port : :: mach_port_t ) -> :: pthread_t ;
4791+ pub fn pthread_create_from_mach_thread (
4792+ thread : * mut :: pthread_t ,
4793+ attr : * const :: pthread_attr_t ,
4794+ f : extern "C" fn ( * mut :: c_void ) -> * mut :: c_void ,
4795+ value : * mut :: c_void ,
4796+ ) -> :: c_int ;
47914797 pub fn pthread_get_stackaddr_np ( thread : :: pthread_t ) -> * mut :: c_void ;
47924798 pub fn pthread_get_stacksize_np ( thread : :: pthread_t ) -> :: size_t ;
47934799 pub fn pthread_condattr_setpshared ( attr : * mut pthread_condattr_t , pshared : :: c_int ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments