From 00c856c0b1feac74df8b404fad94d74a0cf1624a Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 3 Dec 2012 16:48:01 -0800 Subject: Update license, add license boilerplate to most files. Remainder will follow. --- src/libcore/task/local_data.rs | 10 ++++++++++ src/libcore/task/local_data_priv.rs | 10 ++++++++++ src/libcore/task/mod.rs | 10 ++++++++++ src/libcore/task/rt.rs | 10 ++++++++++ src/libcore/task/spawn.rs | 10 ++++++++++ 5 files changed, 50 insertions(+) (limited to 'src/libcore/task') 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 or the MIT license +// , 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 or the MIT license +// , 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 or the MIT license +// , 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 or the MIT license +// , 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + /*!************************************************************************** * Spawning & linked failure * -- cgit 1.4.1-3-g733a5