[Haskell-cafe] killThread and FFI calls

Simon Marlow simonmar at microsoft.com
Wed Dec 14 10:22:42 EST 2005


On 14 December 2005 14:26, Joel Reymont wrote:

> How does killThread work with FFI calls? What happens at the low
> level when a thread is blocked on an FFI call and received a
> KillThread exception? Does it exit immediately via some GHC magic or
> is the exception caught when the FFI call returns?

The latter.

Cheers,
	Simon


More information about the Haskell-Cafe mailing list