File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -208,14 +208,14 @@ extern "C" {
208
208
param : * const sched_param ,
209
209
) -> :: c_int ;
210
210
211
- pub fn pthread_attr_getidealprocessor_np (
211
+ pub fn pthread_attr_getprocessorid_np (
212
212
attr : * const :: pthread_attr_t ,
213
- ideal_processor : * mut :: c_int ,
213
+ processor_id : * mut :: c_int ,
214
214
) -> :: c_int ;
215
215
216
- pub fn pthread_attr_setidealprocessor_np (
216
+ pub fn pthread_attr_setprocessorid_np (
217
217
attr : * mut :: pthread_attr_t ,
218
- ideal_processor : :: c_int ,
218
+ processor_id : :: c_int ,
219
219
) -> :: c_int ;
220
220
221
221
pub fn pthread_getschedparam (
@@ -229,7 +229,7 @@ extern "C" {
229
229
policy : :: c_int ,
230
230
param : * const :: sched_param ,
231
231
) -> :: c_int ;
232
-
232
+
233
233
pub fn pthread_getprocessorid_np ( ) -> :: c_int ;
234
234
235
235
pub fn gethostid ( ) -> :: c_long ;
You can’t perform that action at this time.
0 commit comments