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 @@ -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 @@ -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" ) ]
You can’t perform that action at this time.
0 commit comments