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) {
222
222
"netinet/udp.h" ,
223
223
"poll.h" ,
224
224
"pthread.h" ,
225
+ "pthread_spis.h" ,
225
226
"pwd.h" ,
226
227
"regex.h" ,
227
228
"resolv.h" ,
Original file line number Diff line number Diff line change @@ -1822,6 +1822,7 @@ pseudo_AF_RTIP
1822
1822
pseudo_AF_XTP
1823
1823
pthread_attr_getschedparam
1824
1824
pthread_attr_setschedparam
1825
+ pthread_create_from_mach_thread
1825
1826
pthread_getschedparam
1826
1827
pthread_setschedparam
1827
1828
pthread_cancel
Original file line number Diff line number Diff line change @@ -4788,6 +4788,12 @@ extern "C" {
4788
4788
pub fn pthread_getname_np ( thread : :: pthread_t , name : * mut :: c_char , len : :: size_t ) -> :: c_int ;
4789
4789
pub fn pthread_mach_thread_np ( thread : :: pthread_t ) -> :: mach_port_t ;
4790
4790
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 ;
4791
4797
pub fn pthread_get_stackaddr_np ( thread : :: pthread_t ) -> * mut :: c_void ;
4792
4798
pub fn pthread_get_stacksize_np ( thread : :: pthread_t ) -> :: size_t ;
4793
4799
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