Skip to content

Commit 3c28e47

Browse files
committed
Auto merge of rust-lang#606 - kubo39:add-SC_NPROCESSORS_CONF-to-linux, r=alexcrichton
Add _SC_NPROCESSORS_CONF on Linux
2 parents 69da605 + b83505c commit 3c28e47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/notbsd/linux/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ pub const _SC_THREAD_ATTR_STACKSIZE: ::c_int = 78;
384384
pub const _SC_THREAD_PRIORITY_SCHEDULING: ::c_int = 79;
385385
pub const _SC_THREAD_PRIO_INHERIT: ::c_int = 80;
386386
pub const _SC_THREAD_PRIO_PROTECT: ::c_int = 81;
387+
pub const _SC_NPROCESSORS_CONF: ::c_int = 83;
387388
pub const _SC_NPROCESSORS_ONLN: ::c_int = 84;
388389
pub const _SC_ATEXIT_MAX: ::c_int = 87;
389390
pub const _SC_XOPEN_VERSION: ::c_int = 89;

0 commit comments

Comments
 (0)