File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,15 @@ CODESET
169
169
CPU_CLR
170
170
CPU_COUNT
171
171
CPU_ISSET
172
+ CPU_LEVEL_CPUSET
173
+ CPU_LEVEL_ROOT
174
+ CPU_LEVEL_WHICH
172
175
CPU_SET
176
+ CPU_WHICH_CPUSET
177
+ CPU_WHICH_IRQ
178
+ CPU_WHICH_JAIL
179
+ CPU_WHICH_PID
180
+ CPU_WHICH_TID
173
181
CPU_ZERO
174
182
CRNCYSTR
175
183
CRTSCTS
Original file line number Diff line number Diff line change @@ -3704,6 +3704,16 @@ pub const UMTX_OP_ROBUST_LISTS: ::c_int = 26;
3704
3704
3705
3705
pub const UMTX_ABSTIME : u32 = 1 ;
3706
3706
3707
+ pub const CPU_LEVEL_ROOT : :: c_int = 1 ;
3708
+ pub const CPU_LEVEL_CPUSET : :: c_int = 2 ;
3709
+ pub const CPU_LEVEL_WHICH : :: c_int = 3 ;
3710
+
3711
+ pub const CPU_WHICH_TID : :: c_int = 1 ;
3712
+ pub const CPU_WHICH_PID : :: c_int = 2 ;
3713
+ pub const CPU_WHICH_CPUSET : :: c_int = 3 ;
3714
+ pub const CPU_WHICH_IRQ : :: c_int = 4 ;
3715
+ pub const CPU_WHICH_JAIL : :: c_int = 5 ;
3716
+
3707
3717
const_fn ! {
3708
3718
{ const } fn _ALIGN( p: usize ) -> usize {
3709
3719
( p + _ALIGNBYTES) & !_ALIGNBYTES
You can’t perform that action at this time.
0 commit comments