File tree 5 files changed +4
-3
lines changed
5 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ pub const KERN_PROC_PATHNAME: ::c_int = 9;
6
6
pub const SIGSTKSZ : :: size_t = 40960 ;
7
7
pub const MADV_INVAL : :: c_int = 10 ;
8
8
9
- pub const HW_AVAILCPU : :: c_int = 25 ;
10
-
11
9
extern {
12
10
pub fn __dfly_error ( ) -> * const :: c_int ;
13
11
}
Original file line number Diff line number Diff line change @@ -363,6 +363,7 @@ pub const _SC_GETGR_R_SIZE_MAX: ::c_int = 70;
363
363
pub const _SC_GETPW_R_SIZE_MAX: :: c_int = 71 ;
364
364
pub const _SC_LOGIN_NAME_MAX: :: c_int = 73 ;
365
365
pub const _SC_MQ_PRIO_MAX: :: c_int = 75 ;
366
+ pub const _SC_NPROCESSORS_ONLN: :: c_int = 58 ;
366
367
pub const _SC_THREAD_ATTR_STACKADDR: :: c_int = 82 ;
367
368
pub const _SC_THREAD_ATTR_STACKSIZE: :: c_int = 83 ;
368
369
pub const _SC_THREAD_DESTRUCTOR_ITERATIONS: :: c_int = 85 ;
Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ pub const _SC_GETGR_R_SIZE_MAX : ::c_int = 100;
155
155
pub const _SC_GETPW_R_SIZE_MAX : :: c_int = 101 ;
156
156
pub const _SC_LOGIN_NAME_MAX : :: c_int = 102 ;
157
157
pub const _SC_MQ_PRIO_MAX : :: c_int = 59 ;
158
+ pub const _SC_NPROCESSORS_ONLN : :: c_int = 503 ;
158
159
pub const _SC_THREADS : :: c_int = 91 ;
159
160
pub const _SC_THREAD_ATTR_STACKADDR : :: c_int = 77 ;
160
161
pub const _SC_THREAD_ATTR_STACKSIZE : :: c_int = 78 ;
@@ -212,7 +213,6 @@ pub const PTHREAD_COND_INITIALIZER: pthread_cond_t = 0 as *mut _;
212
213
pub const PTHREAD_RWLOCK_INITIALIZER : pthread_rwlock_t = 0 as * mut _ ;
213
214
pub const PTHREAD_MUTEX_RECURSIVE : :: c_int = 2 ;
214
215
215
- pub const HW_AVAILCPU : :: c_int = 25 ;
216
216
pub const KERN_PROC_ARGS : :: c_int = 55 ;
217
217
218
218
pub const TMP_MAX : :: c_uint = 0x7fffffff ;
Original file line number Diff line number Diff line change @@ -238,6 +238,7 @@ pub const _SC_GETGR_R_SIZE_MAX : ::c_int = 47;
238
238
pub const _SC_GETPW_R_SIZE_MAX : :: c_int = 48 ;
239
239
pub const _SC_LOGIN_NAME_MAX : :: c_int = 37 ;
240
240
pub const _SC_MQ_PRIO_MAX : :: c_int = 55 ;
241
+ pub const _SC_NPROCESSORS_ONLN : :: c_int = 1002 ;
241
242
pub const _SC_THREADS : :: c_int = 41 ;
242
243
pub const _SC_THREAD_ATTR_STACKADDR : :: c_int = 61 ;
243
244
pub const _SC_THREAD_ATTR_STACKSIZE : :: c_int = 62 ;
Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ pub const _SC_GETGR_R_SIZE_MAX : ::c_int = 100;
159
159
pub const _SC_GETPW_R_SIZE_MAX : :: c_int = 101 ;
160
160
pub const _SC_LOGIN_NAME_MAX : :: c_int = 102 ;
161
161
pub const _SC_MQ_PRIO_MAX : :: c_int = 59 ;
162
+ pub const _SC_NPROCESSORS_ONLN : :: c_int = 503 ;
162
163
pub const _SC_THREADS : :: c_int = 91 ;
163
164
pub const _SC_THREAD_ATTR_STACKADDR : :: c_int = 77 ;
164
165
pub const _SC_THREAD_ATTR_STACKSIZE : :: c_int = 78 ;
You can’t perform that action at this time.
0 commit comments