root_task(fn, @key args, suspended,
name = void, group,
input_stream = current_reader(),
output_stream = current_writer())
Return a new task.
This function is similar to task()
except the created task does not inherit the
dynamic environment from the current task and the base priority is set to 0
,
the priority boost is set to 1.0e-6
, and the quantum is set to 0.02
.
The dynamic environment of the task has the global bindings of the parameter objects,
except current_reader which is bound to input_stream
,
current_writer which is bound to output_stream
, and current_directory which is
bound to the initial current working directory of the current process.