diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-05-09 13:27:24 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-05-11 20:36:44 -0700 |
| commit | ed4186446492e141a4dc37829dc9599133d00dd0 (patch) | |
| tree | b26e12beb4abead4e7dd3c0834c5e055a1fba478 /src/libcore/task | |
| parent | f2f10bdc7a2f1d1501abb04f3625356c0c251d92 (diff) | |
| download | rust-ed4186446492e141a4dc37829dc9599133d00dd0.tar.gz rust-ed4186446492e141a4dc37829dc9599133d00dd0.zip | |
Warning police
Diffstat (limited to 'src/libcore/task')
| -rw-r--r-- | src/libcore/task/spawn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/task/spawn.rs b/src/libcore/task/spawn.rs index 846d4a34950..327b7a988aa 100644 --- a/src/libcore/task/spawn.rs +++ b/src/libcore/task/spawn.rs @@ -472,7 +472,7 @@ fn gen_child_taskgroup(linked: bool, supervised: bool) /*##################################################################* * Step 1. Get spawner's taskgroup info. *##################################################################*/ - let mut spawner_group: @@mut TCB = + let spawner_group: @@mut TCB = match local_get(OldHandle(spawner), taskgroup_key!()) { None => { // Main task, doing first spawn ever. Lazily initialise |
