File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
src/unix/bsd/netbsdlike/netbsd Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -1189,6 +1189,9 @@ _cpuset_destroy
11891189_cpuset_isset
11901190_cpuset_set
11911191_cpuset_zero
1192+ _lwp_park
1193+ _lwp_unpark
1194+ _lwp_unpark_all
11921195_lwp_self
11931196abs
11941197accept4
Original file line number Diff line number Diff line change @@ -2862,6 +2862,22 @@ extern "C" {
28622862 pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
28632863
28642864 pub fn reboot ( mode : :: c_int , bootstr : * mut :: c_char ) -> :: c_int ;
2865+
2866+ #[ link_name = "___lwp_park60" ]
2867+ pub fn _lwp_park (
2868+ clock : :: clockid_t ,
2869+ flags : :: c_int ,
2870+ ts : * const :: timespec ,
2871+ unpark : :: lwpid_t ,
2872+ hint : * const :: c_void ,
2873+ unparkhint : * mut :: c_void ,
2874+ ) -> :: c_int ;
2875+ pub fn _lwp_unpark ( lwp : :: lwpid_t , hint : * const :: c_void ) -> :: c_int ;
2876+ pub fn _lwp_unpark_all (
2877+ targets : * const :: lwpid_t ,
2878+ ntargets : :: size_t ,
2879+ hint : * const :: c_void ,
2880+ ) -> :: c_int ;
28652881}
28662882
28672883#[ link( name = "rt" ) ]
You can’t perform that action at this time.
0 commit comments