Henry

  Did you look at 9!:32 33?

  It may not have the wanted granularity under Windows though.

 ~ Gilles


---------- Original Message -----------
From: Henry Rich <henryhr...@nc.rr.com>
To: Programming forum <programm...@jsoftware.com>
Sent: Wed, 19 Sep 2012 16:30:33 -0400
Subject: [Jprogramming] Execution with time limit

> I have uses for a conjunction u (6!:4) n defined as 'execute u, but 
> give a timeout error if execution lasts more than n seconds'.
> 
> I can see 2 uses: first, my immediate need, where I want to run lint 
> on a program that has a long-running sequence.  I would like to halt 
> execution of any verb that takes more than 0.5 seconds.
> 
> Second, in any interactive system it might be desirable to halt a 
> process that takes too long.
> 
> This would be fairly easy to implement, I expect, and I'd try it if 
> Jsoftware would solve the problem of how to make official changes.
> 
> Henry Rich
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
------- End of Original Message -------

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to