Skip to content

Commit 8299925

Browse files
committed
Add SCHED_RESET_ON_FORK
1 parent 71e298f commit 8299925

File tree

1 file changed

+2
-0
lines changed
  • src/unix/linux_like/linux

1 file changed

+2
-0
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,8 @@ pub const SCHED_RR: ::c_int = 2;
11951195
pub const SCHED_BATCH: ::c_int = 3;
11961196
pub const SCHED_IDLE: ::c_int = 5;
11971197

1198+
pub const SCHED_RESET_ON_FORK: ::c_int = 0x40000000;
1199+
11981200
// netinet/in.h
11991201
// NOTE: These are in addition to the constants defined in src/unix/mod.rs
12001202

0 commit comments

Comments
 (0)