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

reset device may trigger hotplug thread and the process will be killed #20

Open
AristoChen opened this issue Jan 15, 2024 · 0 comments
Open

Comments

@AristoChen
Copy link
Owner

Based on the discussion, we may need to implement a mechanism to prevent the hotplug thread kill the process if the Host send reset request

These might not be the best solution, but what I have in my mind now are

  1. Stop the hotplug thread before reset, and try to restart the hotplug thread after reset
  2. Add a flag like this commit to let user decide whether the hotplug thread should be created or not, which will be default yes.
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