aboutsummaryrefslogtreecommitdiffstats
path: root/components/msg
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2016-03-23 16:49:18 -0500
committerAlan Jeffrey <ajeffrey@mozilla.com>2016-03-26 09:11:28 -0500
commit32c72f0925140baa4ecf1a969d604f6c9506bb4c (patch)
tree239e01f1d6ccbd02c237845e153d8f7740fe1695 /components/msg
parentbed91b3334786970c91a47c3bc95889d8675b4d5 (diff)
downloadservo-32c72f0925140baa4ecf1a969d604f6c9506bb4c.tar.gz
servo-32c72f0925140baa4ecf1a969d604f6c9506bb4c.zip
Added ability to randomly kill pipelines to the constellation.
Diffstat (limited to 'components/msg')
-rw-r--r--components/msg/constellation_msg.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/msg/constellation_msg.rs b/components/msg/constellation_msg.rs
index 851857ee738..8c1c02feaf0 100644
--- a/components/msg/constellation_msg.rs
+++ b/components/msg/constellation_msg.rs
@@ -314,13 +314,13 @@ impl PipelineNamespace {
thread_local!(pub static PIPELINE_NAMESPACE: Cell<Option<PipelineNamespace>> = Cell::new(None));
-#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)]
+#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)]
pub struct PipelineNamespaceId(pub u32);
-#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)]
+#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)]
pub struct PipelineIndex(pub u32);
-#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)]
+#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)]
pub struct PipelineId {
pub namespace_id: PipelineNamespaceId,
pub index: PipelineIndex