File tree Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -1190,6 +1190,9 @@ _cpuset_destroy
1190
1190
_cpuset_isset
1191
1191
_cpuset_set
1192
1192
_cpuset_zero
1193
+ _lwp_park
1194
+ _lwp_unpark
1195
+ _lwp_unpark_all
1193
1196
_lwp_self
1194
1197
abs
1195
1198
accept4
Original file line number Diff line number Diff line change @@ -687,6 +687,7 @@ pthread_condattr_init
687
687
pthread_condattr_t
688
688
pthread_create
689
689
pthread_detach
690
+ pthread_equal
690
691
pthread_exit
691
692
pthread_getspecific
692
693
pthread_join
Original file line number Diff line number Diff line change @@ -2875,6 +2875,22 @@ extern "C" {
2875
2875
pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
2876
2876
2877
2877
pub fn reboot ( mode : :: c_int , bootstr : * mut :: c_char ) -> :: c_int ;
2878
+
2879
+ #[ link_name = "___lwp_park60" ]
2880
+ pub fn _lwp_park (
2881
+ clock : :: clockid_t ,
2882
+ flags : :: c_int ,
2883
+ ts : * const :: timespec ,
2884
+ unpark : :: lwpid_t ,
2885
+ hint : * const :: c_void ,
2886
+ unparkhint : * mut :: c_void ,
2887
+ ) -> :: c_int ;
2888
+ pub fn _lwp_unpark ( lwp : :: lwpid_t , hint : * const :: c_void ) -> :: c_int ;
2889
+ pub fn _lwp_unpark_all (
2890
+ targets : * const :: lwpid_t ,
2891
+ ntargets : :: size_t ,
2892
+ hint : * const :: c_void ,
2893
+ ) -> :: c_int ;
2878
2894
}
2879
2895
2880
2896
#[ link( name = "rt" ) ]
Original file line number Diff line number Diff line change @@ -1056,6 +1056,7 @@ extern "C" {
1056
1056
pub fn times ( buf : * mut :: tms ) -> :: clock_t ;
1057
1057
1058
1058
pub fn pthread_self ( ) -> :: pthread_t ;
1059
+ pub fn pthread_equal ( t1 : :: pthread_t , t2 : :: pthread_t ) -> :: c_int ;
1059
1060
#[ cfg_attr(
1060
1061
all( target_os = "macos" , target_arch = "x86" ) ,
1061
1062
link_name = "pthread_join$UNIX2003"
You can’t perform that action at this time.
0 commit comments