I don't use windows normally, but I did a quick test and it worked.
Double click factor.com or run it from a terminal, enter "[ t ] loop"
in the listener and then ctrl-c and t in the terminal and it
interrupts.

For example, if you do "[ 1 seconds sleep t ] loop" and do the same
factor will most likely die. Similarly, if you do this with code
that's doing a lot of IO, it probably won't work because the exception
will happen in the wrong thread.
Jon


On Fri, Oct 2, 2015 at 1:34 PM, Alexander Ilin <ajs...@yandex.ru> wrote:
> Are we still talking about Factor on Windows?
>
> 02.10.2015, 13:11, "Jon Harper" <jon.harpe...@gmail.com>:
>> You can also hit CTRL-C on the terminal, then press 't' to throw an 
>> exception in factor. If the listener is doing a busy loop, it will get the 
>> exception and it should work. If the exception goes to another thread 
>> because the listener thread yields, it can kill the whole process, so you 
>> have to use with care..
>
> ---=====---
> Александр
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk

------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to