aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/task.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-05 09:20:40 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-05 09:20:40 +0100
commite6b2715186b456b2d64fce20b95f2fa720d20300 (patch)
treece07cf4b6d71f25c645db60d972993ec29755d11 /components/util/task.rs
parentc4e44b568a172cdb6486e5a5b8b4a7c59d4d2382 (diff)
downloadservo-e6b2715186b456b2d64fce20b95f2fa720d20300.tar.gz
servo-e6b2715186b456b2d64fce20b95f2fa720d20300.zip
Remove spawn_named_native.
All threads are native now, so this was just an alias for spawn_named.
Diffstat (limited to 'components/util/task.rs')
-rw-r--r--components/util/task.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/util/task.rs b/components/util/task.rs
index 2962880aee0..5de066d5823 100644
--- a/components/util/task.rs
+++ b/components/util/task.rs
@@ -16,10 +16,6 @@ pub fn spawn_named<S: IntoMaybeOwned<'static>>(name: S, f: proc():Send) {
});
}
-pub fn spawn_named_native<S: IntoMaybeOwned<'static>>(name: S, f: proc():Send) {
- spawn_named(name, f)
-}
-
/// Arrange to send a particular message to a channel if the task fails.
pub fn spawn_named_with_send_on_failure<T: Send>(name: &'static str,
state: task_state::TaskState,