From bc4f9afa3e19fc7f7b9fd642bf6bf170b319f5f7 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 17 Oct 2011 21:17:31 -0700 Subject: Removing the 'non-preemptible' madness before it could even be used. --- tests/test-Tasks.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests/test-Tasks.cc') diff --git a/tests/test-Tasks.cc b/tests/test-Tasks.cc index bdafa8d..9f07dda 100644 --- a/tests/test-Tasks.cc +++ b/tests/test-Tasks.cc @@ -47,11 +47,8 @@ void MainTask::Do() { timeout.set(0.1); timeout.reset(); - setPreemptible(false); - yieldingFunction(); - Assert(!timeout.gotSignal()); waitFor(&timeout); - yield(); + yieldingFunction(); Assert(timeout.gotSignal()); Printer::log(M_STATUS, "Test::Tasks passed."); -- cgit v1.2.3