]> gitweb.factorcode.org Git - factor.git/commit
Change do-callback to register the current thread with the callback, instead of busy...
authorSlava Pestov <slava@factorcode.org>
Mon, 11 Apr 2011 02:00:43 +0000 (22:00 -0400)
committerSlava Pestov <slava@factorcode.org>
Wed, 13 Apr 2011 01:48:54 +0000 (21:48 -0400)
commitc36d73e242fd19e07f377b140960745864db3890
tree5a424c5aa9ae5d03caaae00171c5da53f98273fb
parent07f2d753169a8c2cf85da7a1f1c700cbed35bb65
Change do-callback to register the current thread with the callback, instead of busy waiting for the current callback to become the right one before returning. Fixes 100% CPU usage issue with system-alert. Thanks to Blei and ex-rzr for doing preliminary analysis of the issue
basis/bootstrap/threads/threads.factor
basis/compiler/compiler.factor
basis/compiler/threads/authors.txt [new file with mode: 0644]
basis/compiler/threads/threads.factor [new file with mode: 0644]
basis/core-foundation/run-loop/run-loop.factor
basis/debugger/debugger.factor
basis/stack-checker/alien/alien.factor
basis/threads/threads.factor
core/alien/alien.factor
vm/objects.hpp