|
Re: Implementing computations with timeout: msg#00105lang.haskell.cafe
On Fri, 7 Jan 2005 20:56:42 +0100, Sebastian Sylvan <sebastian.sylvan@xxxxxxxxx> wrote: > On Fri, 07 Jan 2005 15:31:10 +0200, Einar Karttunen > <ekarttun@xxxxxxxxxxxxxx> wrote: > > Hello > > > > What is the best way of doing an computation with a timeout? > > I like the approach taken in "Tackling the ackward squad": > I should also state that this isn't safe when it comes to asynchronous exceptions. If one were to raise an exception in a timeout'd computation it would simply abort the takeMVar which means the two child processes won't get killed. /S -- Sebastian Sylvan +46(0)736-818655 UIN: 44640862 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Implementing computations with timeout: 00105, Sebastian Sylvan |
|---|---|
| Next by Date: | Re: Implementing computations with timeout: 00105, Tomasz Zielonka |
| Previous by Thread: | Re: Implementing computations with timeouti: 00105, Sebastian Sylvan |
| Next by Thread: | RE: Hugs vs GHC (again) was: Re: Some randomnewbiequestions: 00105, Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |