[Factor-talk] FLUSH bug

2009-10-22 Thread Hugh Aguilar
My understanding of the FLUSH word is that it is supposed to flush the 
output buffer before proceeding. The documentation says: "Waits for any 
pending output on output-stream to complete."

This isn't happening on my Windows system (the 10-20-09 download). I noticed 
this in regard to Slava's version of LC53 --- the "commencing cracking" 
message didn't appear until after the program had completed. It was supposed 
to appear before the main part of the program began.


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] FLUSH bug

2009-10-22 Thread Slava Pestov
Hugh,

If  you run the benchmark from the UI, no output will be displayed
until the test word completes. This is because Factor uses
co-operative threading and your word does not yield. This is not a big
in flush (in fact, writing to the UI output stream, flush has no
effect).

Slava

On Thu, Oct 22, 2009 at 11:21 PM, Hugh Aguilar  wrote:
> My understanding of the FLUSH word is that it is supposed to flush the
> output buffer before proceeding. The documentation says: "Waits for any
> pending output on output-stream to complete."
>
> This isn't happening on my Windows system (the 10-20-09 download). I noticed
> this in regard to Slava's version of LC53 --- the "commencing cracking"
> message didn't appear until after the program had completed. It was supposed
> to appear before the main part of the program began.
>
>
> --
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk