-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ffi calls interruptible #27
Comments
If I understand it correctly custom |
Don't |
@3noch Austin Seipp talks about it explicitly in the post linked above |
@qrilka I see. Right now I think the C code is just blocking RTS signals: https://github.com/paul-rouse/mysql/blob/master/cbits/mysql_signals.c#L28-L32 |
@3noch but only
I have tried unblocking @paul-rouse could we know your opinion on this issue? |
Sorry, I'm not ignoring this, but I have a work deadline - I'll give it proper thought soon! |
GHC 7.8 brought interruptible FFI. This might be very useful sometimes, especially upon hanging request through FFI. Some more context on a reddit thread.
What do you think? Would that be a good thing to have? Should mysql support GHC >=7.8 or would adding such thing require doing ifdefs to support older GHCs as well? Thanks.
The text was updated successfully, but these errors were encountered: