RE: MVar interface [was: Re: ForeignPtr-related signatures]

2002-11-19 Thread Simon Marlow
> The current `modifyMVar`, though "exception safe", is not > "atomic" in the > same way that the proposed `atomicModifyMVar` would be. Unless I > misunderstand, during the execution of `modifyMVar`'s second > argument, the > mvar is empty and could be filled by some other thread. With > `atomi

Re: cids and fnames in ccall impents

2002-11-19 Thread Ian Lynagh
On Wed, Nov 06, 2002 at 12:04:22AM +, Ian Lynagh wrote: > On Tue, Nov 05, 2002 at 09:53:52PM +, Alastair Reid wrote: > > > > If it isn't spelled out explicitly already, it would be good to do that. > > How about something like this? > > Maximal munch applies. > > token -> special | "&"