chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Segfault - a hard one


From: felix winkelmann
Subject: Re: [Chicken-users] Segfault - a hard one
Date: Sat, 9 Aug 2008 00:23:29 +0200

On Fri, Aug 8, 2008 at 9:12 AM, Vincent Manis <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]