[Haskell-cafe] Implementing computations with timeout

Tomasz Zielonka tomasz.zielonka at gmail.com
Fri Jan 7 17:00:27 EST 2005


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


More information about the Haskell-Cafe mailing list