Re: tryTakeMVar :: MVar a - IO (Maybe a)

2000-04-11 Thread George Russell
Simon Marlow wrote: The only way I can see to do this is to add a lock field to the MVar. And since this lock would look very much like another MVar, you may as well just use another MVar to lock it (after all, that adds exactly zero extra complication to the system :-). Absolutely. There's

RE: ghc with shared libraries ?

2000-04-11 Thread Ian Jackson
Simon Marlow writes ("RE: ghc with shared libraries ?"): Still can't be done, I'm afraid. At least for Haskell libraries; you could compile parts of the RTS and libHS_cbits shared, but we haven't done that. This message has more details: