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

Signal handling #4

Open
snototter opened this issue Jan 8, 2021 · 0 comments
Open

Signal handling #4

snototter opened this issue Jan 8, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@snototter
Copy link
Owner

snototter commented Jan 8, 2021

  • Register a callback function for signal handling (e.g. to notify python caller about SIGINT).
  • Should be optional (no change to existing vcp-based projects if no callback is registered).
  • Which (subset of) signals should be handled?

Watch out for GIL deadlocks (for the corresponding python binding): https://stackoverflow.com/questions/60410178/how-to-invoke-python-function-as-a-callback-inside-c-thread-using-pybind11

@snototter snototter added the enhancement New feature or request label Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant