At 9:45 PM +0400 9/4/05, Dmitry Vyal wrote:
Donald Bruce Stewart wrote:
Maybe your loop does no allocations, so the scheduler can't get in and do a
context switch. You could put the computation in an external
program, and run
it over a fork, using unix signals in the external program to kill
akamaus:
> Donald Bruce Stewart wrote:
>
> >Maybe your loop does no allocations, so the scheduler can't get in and do a
> >context switch. You could put the computation in an external program, and
> >run
> >it over a fork, using unix signals in the external program to kill the
> >computation aft
Dmitry Vyal wrote:
> Currently I'm playing with theorem-proving using resolution. So I need
> some technique to break a computation, if takes too long.
When it comes to resolution proofs, perhaps a better approach is
to use a better monad that natively offers termination guarantees. For
example,
Beta testers wanted!
Lemmih (mostly) has been working on a tool which will download and
install Haskell packages and their dependencies. This tool should
work for any cabal-compatible package.
We're looking for beta testers to try out "cabal-get" (for downloading
and installing) and "cabal-put"
Donald Bruce Stewart wrote:
Maybe your loop does no allocations, so the scheduler can't get in and do a
context switch. You could put the computation in an external program, and run
it over a fork, using unix signals in the external program to kill the
computation after a period of time.
I t
akamaus:
> Hi, everyone!
>
> I have a function, which sometimes takes a long time to compute or even
> may loop forever. So I want to limit it in time somehow.
>
> I tried to run it in another thread in order to kill it after its time
> lapsed. But it seems to lock out other threads so they can't
Hi, everyone!
I have a function, which sometimes takes a long time to compute or even
may loop forever. So I want to limit it in time somehow.
I tried to run it in another thread in order to kill it after its time
lapsed. But it seems to lock out other threads so they can't terminate it.
I wond