about summary refs log tree commit diff
path: root/src/libcore/task
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-12-03 16:48:01 -0800
committerGraydon Hoare <graydon@mozilla.com>2012-12-03 17:12:14 -0800
commit00c856c0b1feac74df8b404fad94d74a0cf1624a (patch)
tree6fed03be32898c9b0c22f8e409d03533957cf75b /src/libcore/task
parent7eda4a567d30ecadc3f6bfa17e2911594ad6b1fa (diff)
downloadrust-00c856c0b1feac74df8b404fad94d74a0cf1624a.tar.gz
rust-00c856c0b1feac74df8b404fad94d74a0cf1624a.zip
Update license, add license boilerplate to most files. Remainder will follow.
Diffstat (limited to 'src/libcore/task')
-rw-r--r--src/libcore/task/local_data.rs10
-rw-r--r--src/libcore/task/local_data_priv.rs10
-rw-r--r--src/libcore/task/mod.rs10
-rw-r--r--src/libcore/task/rt.rs10
-rw-r--r--src/libcore/task/spawn.rs10
5 files changed, 50 insertions, 0 deletions
diff --git a/src/libcore/task/local_data.rs b/src/libcore/task/local_data.rs
index 99101189315..cc0353a354b 100644
--- a/src/libcore/task/local_data.rs
+++ b/src/libcore/task/local_data.rs
@@ -1,3 +1,13 @@
+// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 /*!
 
 Task local data management
diff --git a/src/libcore/task/local_data_priv.rs b/src/libcore/task/local_data_priv.rs
index b8537373e65..494801d88ea 100644
--- a/src/libcore/task/local_data_priv.rs
+++ b/src/libcore/task/local_data_priv.rs
@@ -1,3 +1,13 @@
+// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 #[doc(hidden)]; // FIXME #3538
 
 use local_data::LocalDataKey;
diff --git a/src/libcore/task/mod.rs b/src/libcore/task/mod.rs
index 8497ac7e565..bd8ddda9e7f 100644
--- a/src/libcore/task/mod.rs
+++ b/src/libcore/task/mod.rs
@@ -1,3 +1,13 @@
+// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 // NB: transitionary, de-mode-ing.
 // tjc: Deprecated modes allowed because of function arg issue
 // in task::spawn. Re-forbid after snapshot.
diff --git a/src/libcore/task/rt.rs b/src/libcore/task/rt.rs
index db3d1ec9f70..be66e9e26b8 100644
--- a/src/libcore/task/rt.rs
+++ b/src/libcore/task/rt.rs
@@ -1,3 +1,13 @@
+// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 /*!
 
 The task interface to the runtime
diff --git a/src/libcore/task/spawn.rs b/src/libcore/task/spawn.rs
index b4bea442e69..05f775d08d4 100644
--- a/src/libcore/task/spawn.rs
+++ b/src/libcore/task/spawn.rs
@@ -1,3 +1,13 @@
+// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
 /*!**************************************************************************
  * Spawning & linked failure
  *