[src]

Struct std::task::TaskOpts

pub struct TaskOpts {
    notify_chan: Option<Sender<TaskResult>>,
    name: Option<SendStr>,
    stack_size: Option<uint>,
    stdout: Option<~Writer<Send>>,
    stderr: Option<~Writer<Send>>,
}

Task configuration options

Fields

notify_chan

Enable lifecycle notifications on the given channel

name

A name for the task-to-be, for identification in failure messages

stack_size

The size of the stack for the spawned task

stdout

Task-local stdout

stderr

Task-local stderr

Methods

impl TaskOpts

fn new() -> TaskOpts

The default task options