diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-02 23:40:27 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-05 19:39:55 -0800 |
| commit | 237652299ec5fa3529ac7bd1bfddc52b7526bb82 (patch) | |
| tree | 005becc9376cdc71633bba87edbe78c8912efcc1 /src/rt/rust_task_thread.cpp | |
| parent | 0432030c2727183f3cbda0263de2ca2b90c37353 (diff) | |
| download | rust-237652299ec5fa3529ac7bd1bfddc52b7526bb82.tar.gz rust-237652299ec5fa3529ac7bd1bfddc52b7526bb82.zip | |
rt: Protect cond and cond_name with the state_lock
Diffstat (limited to 'src/rt/rust_task_thread.cpp')
| -rw-r--r-- | src/rt/rust_task_thread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rt/rust_task_thread.cpp b/src/rt/rust_task_thread.cpp index cb05a986476..472b58f1671 100644 --- a/src/rt/rust_task_thread.cpp +++ b/src/rt/rust_task_thread.cpp @@ -209,7 +209,8 @@ rust_task_thread::log_state() { log(NULL, log_debug, "\t task: %s @0x%" PRIxPTR ", blocked on: 0x%" PRIxPTR " '%s'", blocked_tasks[i]->name, blocked_tasks[i], - blocked_tasks[i]->cond, blocked_tasks[i]->cond_name); + blocked_tasks[i]->get_cond(), + blocked_tasks[i]->get_cond_name()); } } |
