diff options
author | Pixel <pixel@nobis-crew.org> | 2011-10-17 21:17:31 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-10-17 21:17:31 -0700 |
commit | bc4f9afa3e19fc7f7b9fd642bf6bf170b319f5f7 (patch) | |
tree | ae5e530743accc91fa87cc351b2108fbc47aaebb /tests | |
parent | 1e0ba312edbe0feea88737380ef1a71782779437 (diff) |
Removing the 'non-preemptible' madness before it could even be used.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-Tasks.cc | 5 |
1 files changed, 1 insertions, 4 deletions
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."); |