Skip to content
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

Support Racket on Chez Scheme #2

Merged
merged 1 commit into from
Feb 18, 2021

Conversation

LiberalArtist
Copy link
Contributor

@LiberalArtist LiberalArtist commented Feb 23, 2020

Getting the FFI to generate an async-signal-safe callback seems improbable, so I've just removed the dependency on Racket BC's C API.

I've tested interactively with the example from the docs, which I added as a script to the repository.

Remove the dependency on Racket BC's C API.
We now build a plain C shared library and
interact with it through the FFI.

Closes tonyg#1
@LiberalArtist
Copy link
Contributor Author

Just so this is written down somewhere, Chez Scheme has a function register-signal-handler to register a Scheme procedure to handle a given Unix signals. It's not enough for this package to avoid C entirely, though, because we still want the name-to-number mapping from signal.h.

@tonyg tonyg merged commit a0c5091 into tonyg:master Feb 18, 2021
@tonyg
Copy link
Owner

tonyg commented Feb 18, 2021

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants