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

React to events #6

Closed
lu-zero opened this issue Sep 19, 2021 · 2 comments
Closed

React to events #6

lu-zero opened this issue Sep 19, 2021 · 2 comments

Comments

@lu-zero
Copy link
Collaborator

lu-zero commented Sep 19, 2021

  • Enqueue the filtered events in react_to_event()
  • From a separate thread read the events from the queue and execute them sequentially to avoid race conditions (e.g. create is still ongoing and a later remove for the same device is executed before)
@lu-zero
Copy link
Collaborator Author

lu-zero commented Oct 9, 2021

nix mknod seems a good way to create the device.

@lu-zero
Copy link
Collaborator Author

lu-zero commented Nov 17, 2021

#12 addresses most of it.

@lu-zero lu-zero closed this as completed Nov 17, 2021
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

No branches or pull requests

1 participant