Skip to content

Commit b62064b

Browse files
committed
Rename "idealprocessor" attr functions to "processorid"
1 parent d38b04a commit b62064b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/unix/newlib/horizon/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,14 @@ extern "C" {
208208
param: *const sched_param,
209209
) -> ::c_int;
210210

211-
pub fn pthread_attr_getidealprocessor_np(
211+
pub fn pthread_attr_getprocessorid_np(
212212
attr: *const ::pthread_attr_t,
213-
ideal_processor: *mut ::c_int,
213+
processor_id: *mut ::c_int,
214214
) -> ::c_int;
215215

216-
pub fn pthread_attr_setidealprocessor_np(
216+
pub fn pthread_attr_setprocessorid_np(
217217
attr: *mut ::pthread_attr_t,
218-
ideal_processor: ::c_int,
218+
processor_id: ::c_int,
219219
) -> ::c_int;
220220

221221
pub fn pthread_getschedparam(
@@ -229,7 +229,7 @@ extern "C" {
229229
policy: ::c_int,
230230
param: *const ::sched_param,
231231
) -> ::c_int;
232-
232+
233233
pub fn pthread_getprocessorid_np() -> ::c_int;
234234

235235
pub fn gethostid() -> ::c_long;

0 commit comments

Comments
 (0)