Skip to content

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

@AristoChen

Description

@AristoChen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions