rt: Take the weak_task_lock in end_weak_tasks
Don't remember why it's commented out. Probably an oversight.
This commit is contained in:
parent
90f82e171d
commit
4357e1fd60
@ -337,7 +337,7 @@ void
|
||||
rust_kernel::end_weak_tasks() {
|
||||
std::vector<rust_port_id> chancopies;
|
||||
{
|
||||
//scoped_lock with(weak_task_lock);
|
||||
scoped_lock with(weak_task_lock);
|
||||
chancopies = weak_task_chans;
|
||||
weak_task_chans.clear();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user