On 01/26/11 06:22, Simon Marlow wrote:
No - as soon as the thread enters foreign code via a safe foreign call,
GC can happen at any time.

(Which is a very good thing: if you *want* to call a long-running, or running forever, piece of foreign code, there is a way to do it without breaking the GC. It's called 'safe'. ...'safe' counterintuitively by the same token means that non-pinned memory can be moved!)

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to