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:
Brian Anderson 2012-04-20 13:59:31 -07:00
parent 90f82e171d
commit 4357e1fd60

View File

@ -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();
}