From 965148b43b5b859934b7af2e8447ba1026a43a19 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 10 Oct 2011 19:36:55 -0700 Subject: Adding the basic "Handle" structure, and adding an early version of Input. Renamed suspend() to yield(). Fixed a couple of bugs, and reorganized slightly some code. --- tests/test-Tasks.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-Tasks.cc') diff --git a/tests/test-Tasks.cc b/tests/test-Tasks.cc index 148f943..1faa194 100644 --- a/tests/test-Tasks.cc +++ b/tests/test-Tasks.cc @@ -30,13 +30,13 @@ void MainTask::Do() { Events::TaskEvent taskEvt(testTask); waitFor(&taskEvt); Assert(!taskEvt.gotSignal()); - suspend(); + yield(); Assert(taskEvt.gotSignal()); Events::Timeout timeout(0.1); waitFor(&timeout); Assert(!timeout.gotSignal()); - suspend(); + yield(); Assert(timeout.gotSignal()); Printer::log(M_STATUS, "Test::Tasks passed."); -- cgit v1.2.3