diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-01 22:29:47 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-05 19:39:55 -0800 |
| commit | fa566ad2fdf4b2bb63af87b2aa6fda3d5d48ce6d (patch) | |
| tree | b51c4200f522c6488b10da38b017c13bcfe4d725 /src/rt/rust_task_thread.h | |
| parent | 2465a63a69ea51d4fce10430b6a8fd0079cbbcd5 (diff) | |
| download | rust-fa566ad2fdf4b2bb63af87b2aa6fda3d5d48ce6d.tar.gz rust-fa566ad2fdf4b2bb63af87b2aa6fda3d5d48ce6d.zip | |
rt: Make the rust_task_thread lock private
Diffstat (limited to 'src/rt/rust_task_thread.h')
| -rw-r--r-- | src/rt/rust_task_thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_task_thread.h b/src/rt/rust_task_thread.h index 7b05c185be1..f29e165d942 100644 --- a/src/rt/rust_task_thread.h +++ b/src/rt/rust_task_thread.h @@ -47,6 +47,8 @@ struct rust_task_thread : public kernel_owned<rust_task_thread>, { private: + lock_and_signal lock; + // Fields known only by the runtime: rust_log _log; @@ -76,8 +78,6 @@ public: rust_scheduler *sched; rust_srv *srv; - lock_and_signal lock; - rust_task_list newborn_tasks; rust_task_list running_tasks; rust_task_list blocked_tasks; |
