I have some strange behavior with GHC 7.6.3 on Ubuntu 14 TLS when using FFI and
I am looking for some ideas on what could be going on.
Fundamentally, adding wait calls (delays coded in the C) changes the behavior
of the C, in that returned status codes have proper values when there are
delays,
...
Because the failures are not general in that they target one
particular value, and seem to be affected by time, it makes me
wonder if there is some subtle Haskell run time issue. Like,
could the garbage collector be interacting with things?
Does anyone have an idea what kind of things