Determine if an active thread is handling events (i.e. if anyone is holding the event handling lock).
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static int EventHandlerActive( MonoUsbSessionHandle sessionHandle )
Public Shared Function EventHandlerActive ( _ sessionHandle As MonoUsbSessionHandle _ ) As Integer
public: static int EventHandlerActive( [InAttribute] MonoUsbSessionHandle^ sessionHandle )
Parameters
- sessionHandle (MonoUsbSessionHandle)
- A valid MonoUsbSessionHandle.
Return Value
- 1 if a thread is handling events.
- 0 if there are no threads currently handling events.
Remarks
Note:
Member documentation was originally generated using the Libusb-1.0 API documentation:
Polling and timing