From f91eaabda46825710e6553da124eaa2283ad8465 Mon Sep 17 00:00:00 2001 From: weissms Date: Thu, 27 Dec 2007 16:46:09 +0000 Subject: [PATCH] Removed debug output, added some more explanatory comments. git-svn-id: https://svn.aros.org:8080/svn/aros/trunk/AROS@27587 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- test/exceptiontest2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/exceptiontest2.c b/test/exceptiontest2.c index cebea4490..472ea9f0f 100644 --- a/test/exceptiontest2.c +++ b/test/exceptiontest2.c @@ -37,6 +37,7 @@ static ULONG handler( static void entry(void) { sigbit2 = AllocSignal(-1); + /* signal the parent task via a task exceptions */ Signal(parent, 1 << excbit); if (sigbit2 >= 0) { @@ -74,14 +75,13 @@ int main(int argc, char* argv[]) { Wait(1 << sigbit1); /* we only want to get exceptioned once not on - every new call to Signal */ + every new call to Signal, so disable excbit */ SetExcept(0, 1 << excbit); if (sigbit2 >= 0) { int i; for (i = 0; i < 10; i++) { - printf("test\n"); Signal(t, 1 << sigbit2); printf("%d\n", cnt); } -- 2.11.4.GIT