On Fri, Aug 8, 2008 at 9:12 AM, Vincent Manis <[EMAIL PROTECTED]> wrote:
> On 2008-Aug-7, at 19:53, John Cowan wrote:
>>
>> 1) Run it in a separate process, which you can kill without damaging
>> yourself.
>>
>> 2) Use a modified version of "eval" to execute it that counts ticks.
>
> 3) Use a modified version of eval that polls for a thread termination
> request.
>

4) Make the worker thread check a global (or thread-local, but
accessible from outside)
  status and let it terminate itself.


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to