rt: Protect cond and cond_name with the state_lock
This commit is contained in:
parent
0432030c27
commit
237652299e
3 changed files with 21 additions and 16 deletions
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue