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

hid_close will close immediately on win32 #41

Closed
wants to merge 1 commit into from
Closed

hid_close will close immediately on win32 #41

wants to merge 1 commit into from

Commits on Jul 12, 2019

  1. hid_close will close immediately on win32

    see signal11/hidapi#416
    
    In multi-thread environment, if the hid_read thread is different from the hid_close thread, the hid_read function will block the thread exiting, at the wait object operation.
    
    This fix just set the event, after cancel io, so that, hid_read not wait anymore and exiting read
    LianYangCn authored Jul 12, 2019
    Configuration menu
    Copy the full SHA
    e739dc1 View commit details
    Browse the repository at this point in the history