diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-07 18:34:04 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-08 15:42:51 -0800 |
| commit | 35ba9715fafe14c96081049327c808fd0c5a2792 (patch) | |
| tree | dc35189d1d7ffaa1097646d3a82f115578167653 /src/rt/rust_stack.cpp | |
| parent | 2f4e7c157eb3ab9cd8270c3e9fffedd03f0cb055 (diff) | |
| download | rust-35ba9715fafe14c96081049327c808fd0c5a2792.tar.gz rust-35ba9715fafe14c96081049327c808fd0c5a2792.zip | |
core: Add task::spawn_sched
This function creates a new scheduler with a specified number of threads and immediately executes a task on it. The scheduler is configured to terminate when the task dies. This is the minimum API necessary to enable blocking C calls.
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions
