Drop the 2 from the spawn*2 functions

Issue #1022
This commit is contained in:
Brian Anderson 2011-10-13 21:23:07 -07:00
parent e0bba33caa
commit 686d6a485f
61 changed files with 107 additions and 107 deletions

View file

@ -191,7 +191,7 @@ fn closure_to_task(cx: cx, configport: port<[u8]>, testfn: fn()) ->
testfn();
let testfile = recv(configport);
ret task::spawn_joinable2(
ret task::spawn_joinable(
(cx.config, cx.procsrv.chan, testfile), run_test_task);
}

View file

@ -37,7 +37,7 @@ type response = {pid: int, infd: int, outfd: int, errfd: int};
fn mk() -> handle {
let setupport = port();
let task = task::spawn_joinable2(
let task = task::spawn_joinable(
chan(setupport),
fn# (setupchan: chan<chan<request>>) {
let reqport = port();