Skip to content

Commit d38b04a

Browse files
committed
Add nonstandard pthread_getprocessorid_np function
1 parent 9405ad6 commit d38b04a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/newlib/horizon/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ extern "C" {
229229
policy: ::c_int,
230230
param: *const ::sched_param,
231231
) -> ::c_int;
232+
233+
pub fn pthread_getprocessorid_np() -> ::c_int;
232234

233235
pub fn gethostid() -> ::c_long;
234236
}

0 commit comments

Comments
 (0)