From 9f287c211eb3a92ae3aa31b6f767bb9998f2f147 Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Fri, 3 Aug 2012 18:57:43 -0700 Subject: Refcount tasks in packets to avoid races. Revert "Once again, revert "Use pipes in compiletest"" Fixes #3098 --- src/rt/rust_task.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/rt') diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 58a0e3eae6c..061e87ebff8 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -678,9 +678,6 @@ MUST_CHECK bool rust_task::wait_event(void **result) { void rust_task::signal_event(void *event) { - assert(task_state_blocked == state || - task_state_running == state); - scoped_lock with(lifecycle_lock); this->event = event; -- cgit 1.4.1-3-g733a5