diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-06-21 18:08:34 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-06-27 09:58:39 -0700 |
| commit | 6367bcf4276c06d41b0d66f10711ca3b076ae547 (patch) | |
| tree | 14f52a00319dcba17755330da3bcf978a53c0b3d /src/rt/rust_task.h | |
| parent | 4d99bf9af2107523c01566968e889c4f1a5de49e (diff) | |
| download | rust-6367bcf4276c06d41b0d66f10711ca3b076ae547.tar.gz rust-6367bcf4276c06d41b0d66f10711ca3b076ae547.zip | |
Fixed a few concurrency bugs. Still not perfect, but overall it seems much more reliable.
Diffstat (limited to 'src/rt/rust_task.h')
| -rw-r--r-- | src/rt/rust_task.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index db3c0367adb..3f9a0660300 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -53,7 +53,7 @@ rust_task : public maybe_proxy<rust_task>, // This flag indicates that a worker is either currently running the task // or is about to run this task. - bool active; + volatile bool active; // Only a pointer to 'name' is kept, so it must live as long as this task. rust_task(rust_dom *dom, |
