[Gd-chatter] r11134 - trunk/libraries/programming-tools/multi-thread-test
hannes at gwydiondylan.org
hannes at gwydiondylan.org
Mon Jan 15 02:36:14 CET 2007
Author: hannes
Date: Mon Jan 15 02:36:13 2007
New Revision: 11134
Modified:
trunk/libraries/programming-tools/multi-thread-test/multi-thread-test.dylan
Log:
Job: minor
*this also reproduces the behaviour
* on preempted linux -> SIGSEGV in object-class
* on non-preempted linux -> lots of signals & mprotects,
slow
Modified: trunk/libraries/programming-tools/multi-thread-test/multi-thread-test.dylan
==============================================================================
--- trunk/libraries/programming-tools/multi-thread-test/multi-thread-test.dylan (original)
+++ trunk/libraries/programming-tools/multi-thread-test/multi-thread-test.dylan Mon Jan 15 02:36:13 2007
@@ -21,11 +21,12 @@
with-lock (ts.lock)
add!(ts.threads, count)
end;
- sleep(1);
+ format-out("Hello from %d\n",count);
+ //collect-garbage();
+ //sleep(1);
with-lock (ts.lock)
remove!(ts.threads, count)
end;
- collect-garbage()
end;
define function main () => ()
More information about the chatter
mailing list