Remove unused procsrv::clone function from compiletest
This commit is contained in:
parent
291c43af31
commit
4828d8f73f
1 changed files with 0 additions and 7 deletions
|
|
@ -45,13 +45,6 @@ fn mk() -> handle {
|
|||
|
||||
fn from_chan(ch: &reqchan) -> handle { {task: option::none, chan: ch} }
|
||||
|
||||
fn clone(handle: &handle) -> handle {
|
||||
|
||||
// Sharing tasks across tasks appears to be (yet another) recipe for
|
||||
// disaster, so our handle clones will not get the task pointer.
|
||||
{task: option::none, chan: task::clone_chan(handle.chan)}
|
||||
}
|
||||
|
||||
fn close(handle: &handle) {
|
||||
task::send(handle.chan, stop);
|
||||
task::join(option::get(handle.task));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue