Am Sun, 26 Jul 2015 12:35:01 +0200
schrieb Georg Simon :
Yes, it does matter.
http://docs.factorcode.org/content/article-io.pathnames.special.html
If a pathname begins with resource:, it is resolved relative to the
directory con
That helps very much, thank you both!
Evan
From: John Benediktsson Sent: Sunday, July 26, 2015 3:28 PM To:
factor-talk@lists.sourceforge.net
Your ``[ t ] loop`` is a busy loop that will suck 100% CPU.
The problem you have is that a timer starts a new thread, and you wan
Your ``[ t ] loop`` is a busy loop that will suck 100% CPU.
The problem you have is that a timer starts a new thread, and you want to
wait forever just sleep the main thread?
start-looping-timer 1 year sleep
I'm not sure if we have a way to wait for an existing thread to exit, but
if we did,
Hi Evan,
You set up the loop but then starve it by going 100% CPU on the ``[ t ]
loop``, which never gives the scheduler green thread a chance to run.
Also, you should call ``flush`` so the terminal doesn't buffer all of the
output.
This one loops for awhile:
USING: kernel timers io io.servers
What is the correct way to use a timer within a deployed program?
I never get any errors, but the quotation of the timer is simply never called.
---
USING: kernel timers io io.servers prettyprint calendar ;
IN: loopfun
: start-looping-timer ( -- timer )
"Before Loop" . [ "In
Am Sun, 26 Jul 2015 13:15:51 +0200
schrieb Björn Lindqvist :
Thank you.
> Judging by the binary name "factor-lang" you have the factor package
> installed from my ppa. But it appears that you have a fresher image
> coming from github. You probably can't mix the two versions like that.
Indeed I di
Judging by the binary name "factor-lang" you have the factor package
installed from my ppa. But it appears that you have a fresher image
coming from github. You probably can't mix the two versions like that.
You can try and run:
"resource:db" absolute-path
in the listener. It should show you a di
Factor 0.98 x86.64 (1565, heads/master-0-g592764d, Wed Dec 24 04:52:05
2014) [GCC 4.8.2] on linux
.factor-rc
USE: vocabs.loader
"/home/factor/" add-vocab-root
--