Are FFI calls interruptible?

Bas van Dijk v.dijk.bas at gmail.com
Sun Apr 24 18:23:19 CEST 2011


On 24 April 2011 10:26, Edward Z. Yang <ezyang at mit.edu> wrote:
> No, you have to use the 'interruptible' keyword.

Good, I need them to be uninterruptible. So I guess I can apply
uninterruptibleMask_ only to the 'acquire lock' in the following code
from my usb library:

https://github.com/basvandijk/usb/blob/async/System/USB/Internal.hs#L1593

Thanks,

Bas



More information about the Glasgow-haskell-users mailing list