LibUsbDotNet 2.2.8
UnlockEvents Method (sessionHandle)
Library Reference ► MonoLibUsb ► MonoUsbApi ► UnlockEvents(MonoUsbSessionHandle)
|
Release the lock previously acquired with libusb_try_lock_events or libusb_lock_events.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static void UnlockEvents( MonoUsbSessionHandle sessionHandle )
Public Shared Sub UnlockEvents ( _ sessionHandle As MonoUsbSessionHandle _ )
public: static void UnlockEvents( [InAttribute] MonoUsbSessionHandle^ sessionHandle )
Parameters
- sessionHandle (MonoUsbSessionHandle)
- A valid MonoUsbSessionHandle.
Remarks
Releasing this lock will wake up any threads blocked on libusb_wait_for_event.
Note:
Member documentation was originally generated using the Libusb-1.0 API documentation:
Polling and timing