Skip to content

Commit b456f76

Browse files
committed
Auto merge of #2238 - devnexen:solarish_update2, r=JohnTitor
solaris adding few cpu affinity related functions
2 parents 72da7a6 + 0dea617 commit b456f76

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/unix/solarish/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2642,6 +2642,13 @@ extern "C" {
26422642
pub fn pset_list(pset: *mut psetid_t, numpsets: *mut ::c_uint) -> ::c_int;
26432643
pub fn pset_setattr(pset: psetid_t, attr: ::c_uint) -> ::c_int;
26442644
pub fn pset_getattr(pset: psetid_t, attr: *mut ::c_uint) -> ::c_int;
2645+
pub fn processor_bind(
2646+
idtype: ::idtype_t,
2647+
id: ::id_t,
2648+
new_binding: ::processorid_t,
2649+
old_binding: *mut processorid_t,
2650+
) -> ::c_int;
2651+
pub fn p_online(processorid: ::processorid_t, flag: ::c_int) -> ::c_int;
26452652
}
26462653

26472654
mod compat;

0 commit comments

Comments
 (0)