logo       

Re: Implementing computations with timeout: msg#00106

lang.haskell.cafe

Subject: Re: Implementing computations with timeout

On Fri, Jan 07, 2005 at 04:47:12PM +0100, Tomasz Zielonka wrote:
> On Fri, Jan 07, 2005 at 04:55:05PM +0200, Einar Karttunen wrote:
> > if we use IO as the signature then using the TMVar has few advantages over
> > using an MVar.
>
> Yes, I think you are right here.

Hmmm, TMVar's seem to be significantly (ie. 6 times) faster than MVars
in some simple tests :)

Is it expected?

Best regards,
Tomasz


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise