Re: [Factor-talk] Ctrl+Break

2015-10-02 Thread Jon Harper
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

Re: [Factor-talk] Ctrl+Break

2015-10-02 Thread Alexander Ilin
Are we still talking about Factor on Windows? 02.10.2015, 13:11, "Jon Harper" : > 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

Re: [Factor-talk] Ctrl+Break

2015-10-02 Thread Jon Harper
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

Re: [Factor-talk] potential memory issue

2015-10-02 Thread HP wei
First, In factor's listener terminal (not in the gui window, though), Jon Harper suggested to hit Control-C and t to terminate a long running code. I hit Control-C in below case (1), it brings out a low level debugger (what a pleasant surprise). Let me ask a question first before I write more