Function std::task::spawn_supervised

pub fn spawn_supervised(f: ~fn())

Creates a child task supervised by the current one. If the child task fails, the parent will not be killed, but if the parent fails, the child will be killed.