]> sigrok.org Git - libsigrok.git/commit
Initial fix attempt for a thread-related issue on Windows.
authorMartin Ling <redacted>
Tue, 24 Mar 2015 19:06:17 +0000 (20:06 +0100)
committerUwe Hermann <redacted>
Tue, 24 Mar 2015 19:14:04 +0000 (20:14 +0100)
commitf6c30de4b031ab9a8d838c1ad6ff4118b03c0dc4
treeaf76adb5cdb9b78dfb24799f8f3d82b1bde8671c
parent515ab0889ebde4b373d620044a1a98da37153056
Initial fix attempt for a thread-related issue on Windows.

This is a partial fix for bug #343, which lead to a large amount of
handles being created, and eventually to a frontend "hang".

It's not yet a "full" fix as some issues are still observable,
but it successfully improves the situation on Windows to the extent
that frontend hangs due to large amounts of handles no longer seem
to happen.

Thanks to Boris Gjenero <redacted> for the debugging
efforts, testing, and updating of this patch!

Additionally, this seems to also fix a "SysClk LWLA hanging" bug
and apparently not receiving any samples during an acquisition
(tested on an LWLA1034).

This closes bug #328.
src/libsigrok-internal.h
src/usb.c