Consecutive FFI calls

David Turner dct25-561bs at mythic-beasts.com
Thu May 28 16:24:50 UTC 2015


Hi,

If I make a sequence of FFI calls (on a single Haskell thread) but
which end up being called from different OS threads, is there any kind
of ordering guarantee given? More specifically, is there a full memory
barrier at the point where a Haskell thread migrates to a new OS
thread?

Many thanks,

David


More information about the ghc-devs mailing list