[parrot/parrot] 427b5f: Replace timer thread with time checks and sleep fo...
noreply at github.com
Sun Apr 29 15:10:31 UTC 2012
Author: Stefan Seifert <nine at detonation.org>
Date: 2012-04-29 (Sun, 29 Apr 2012)
Replace timer thread with time checks and sleep for --without-threads
Fixes all tests when configured --without-threads
Instead of a timer thread incrementing an alarm serial, we check the
current time directly. Should be some performance hit, but without
threading support, there's only so much we can do.
When no tasks are active, use usleep or Sleep instead of a condition
variable for waiting. Green threads are used instead of real threads for
More information about the parrot-commits