mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove spawn_named_native.
All threads are native now, so this was just an alias for spawn_named.
This commit is contained in:
parent
c4e44b568a
commit
e6b2715186
3 changed files with 4 additions and 9 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue