Call to hid_read_timeout sometimes never returns on Windows #652
Labels
No labels
3rdparty
Android
API
Author does not respond
bsd
bug
build system/CI
ci-virtual-device
CMake
Contributions Welcome
Core
dependencies
device-specific
documentation
don't_merge
duplicate
enhancement
Example
Haiku
hidraw
hotplug
info required
invalid
libusb
macOS
Misc
Not an issue
question
Release
Test
Test GUI
Windows
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libusb/hidapi#652
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We have an application that works perfectly on Linux and Mac and most of the time for Windows.
But on Windows it happens that the call to
read_timeoutnever returns and the entire app is hanging because we are cleanly using mutexes to prevent parallel accessing the USB device.We tracked our problem down to the call of
hid_read_timeoutTimeout value is 10s but we can see in our logs that it's waiting forever there.
Has anyone heared about problem specific to Windows that the
hid_read_timeoutcall would hang forever even if a timeout value of 10000 is specified?Thx a lot for help - we are a bit clueless at this point.
upsi ... timeout is 10mio and not 10k 😑
closing this issue