On Aug 17, 2006, at 3:48 PM, Creighton Hogg wrote:

Good afternoon Haskellers,

So I'm trying to understand how STM works, and wrote a quick 'eating philosophers' example to see if I understood how it's supposed to work. The problem is that while it executes, it doesn't appear to *do* anything.

Did I completely write things wrongheadedly or am I being bitten by something more subtle?

From a quick read, it looks like your program doesn't produce any output until a philosopher finishes 10000 think/eat iterations. Something tells me that could take awhile....



Rob Dockins

Speak softly and drive a Sherman tank.
Laugh hard; it's a long way to the bank.
          -- TMBG



_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to