]> gitweb.factorcode.org Git - factor.git/commit
rosetta-code.metronome, simplify and fix script/deploy
authorJon Harper <jon.harper87@gmail.com>
Wed, 16 Oct 2013 21:58:54 +0000 (23:58 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 17 Oct 2013 20:35:05 +0000 (13:35 -0700)
commit19204e83b470f496807b6aa874adb4144f9ef54c
tree06428221980010cbbdfbfc6eb3b3f909a54afa08
parent16e3bac2d375834143c7a5852c93700f6dba5683
rosetta-code.metronome, simplify and fix script/deploy

Timers have 1 thread per timer, so it's ok to block. This removes
the need for a timer releasing a semaphore and another thread
acquiring the semaphore.

Also, when running in with-ui, the quotation must return for the UI
to actually start, so the previous method didn't work
extra/rosetta-code/metronome/metronome.factor