From 864eeb3a526b1a32c72e1f31a3e1f23dcc5c7409 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 9 Oct 2011 01:12:50 -0700 Subject: More work on the Task manager. Now "Main" is a Task, among the most important changes. Introduced the notion of Events, and managed a coherent task switch. Also, renamed a lot of the variables to have a more coherent naming scheme. --- tests/test-String.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/test-String.cc') diff --git a/tests/test-String.cc b/tests/test-String.cc index 36c87e4..8e6eacb 100644 --- a/tests/test-String.cc +++ b/tests/test-String.cc @@ -5,7 +5,7 @@ BALAU_STARTUP; using namespace Balau; -int Application::startup() throw (Balau::GeneralException) { +void MainTask::Do() { Printer::log(M_STATUS, "Test::String running."); String x = "foobar"; @@ -46,5 +46,4 @@ int Application::startup() throw (Balau::GeneralException) { Assert(((unsigned char) y[0]) == 0xe9); Printer::log(M_STATUS, "Test::String passed."); - return 0; } -- cgit v1.2.3