We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eef23c7 commit cf92808Copy full SHA for cf92808
src/unix/newlib/horizon/mod.rs
@@ -204,7 +204,15 @@ extern "C" {
204
param: *const sched_param,
205
) -> ::c_int;
206
207
- pub fn pthread_attr_setaffinity(attr: *mut ::pthread_attr_t, affinity: ::c_int) -> ::c_int;
+ pub fn pthread_attr_getidealprocessor_np(
208
+ attr: *const ::pthread_attr_t,
209
+ ideal_processor: *mut ::c_int,
210
+ ) -> ::c_int;
211
+
212
+ pub fn pthread_attr_setidealprocessor_np(
213
+ attr: *mut ::pthread_attr_t,
214
+ ideal_processor: ::c_int,
215
216
217
pub fn pthread_getpriority() -> ::c_int;
218
0 commit comments