summaryrefslogtreecommitdiff
path: root/src/sched.rs
diff options
context:
space:
mode:
authorVictor Berger <victor.berger@m4x.org>2014-12-10 19:30:36 +0100
committerVictor Berger <victor.berger@m4x.org>2014-12-10 19:30:36 +0100
commit7c27a173ba2b22e059e8a2a92f070a3853218e09 (patch)
tree53bcb4325bc5630093cc5a1a22bd4dc1c5d246b1 /src/sched.rs
parent4552f47e4ea04ed8f04bf24b9ba182ab71ea8974 (diff)
downloadnix-7c27a173ba2b22e059e8a2a92f070a3853218e09.zip
Fallout of Copy becoming opt-in.
Diffstat (limited to 'src/sched.rs')
-rw-r--r--src/sched.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sched.rs b/src/sched.rs
index 43c5c187..969ab41b 100644
--- a/src/sched.rs
+++ b/src/sched.rs
@@ -69,6 +69,7 @@ pub type CpuMask = c_ulong;
// Structure representing the CPU set to apply
#[repr(C)]
+#[deriving(Copy)]
pub struct CpuSet {
cpu_mask: [CpuMask, ..cpuset_attribs::CPU_SETSIZE/cpuset_attribs::CPU_MASK_BITS]
}