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
11901190_cpuset_isset
11911191_cpuset_set
11921192_cpuset_zero
1193+ _lwp_park
1194+ _lwp_unpark
1195+ _lwp_unpark_all
11931196_lwp_self
11941197abs
11951198accept4
Original file line number Diff line number Diff line change @@ -687,6 +687,7 @@ pthread_condattr_init
687687pthread_condattr_t
688688pthread_create
689689pthread_detach
690+ pthread_equal
690691pthread_exit
691692pthread_getspecific
692693pthread_join
Original file line number Diff line number Diff line change @@ -2875,6 +2875,22 @@ extern "C" {
28752875 pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
28762876
28772877 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 ;
28782894}
28792895
28802896#[ link( name = "rt" ) ]
Original file line number Diff line number Diff line change @@ -1056,6 +1056,7 @@ extern "C" {
10561056 pub fn times ( buf : * mut :: tms ) -> :: clock_t ;
10571057
10581058 pub fn pthread_self ( ) -> :: pthread_t ;
1059+ pub fn pthread_equal ( t1 : :: pthread_t , t2 : :: pthread_t ) -> :: c_int ;
10591060 #[ cfg_attr(
10601061 all( target_os = "macos" , target_arch = "x86" ) ,
10611062 link_name = "pthread_join$UNIX2003"
You can’t perform that action at this time.
0 commit comments