src/hidapi/mac/hid.c
/* This gets called when the read_thred's run loop gets signaled by
 hid_close(), and serves to stop the read_thread's run loop. */
This gets called when the read_thred's run loop gets signaled by
hid_close(), and serves to stop the read_thread's run loop.
This gets called when the read_thred ' s run loop gets signaled by hid_close () and serves to stop the read_thread ' s run loop .
static void perform_signal_callback(void *context)
{
	hid_device *dev = (hid_device *)context;
	CFRunLoopStop(dev->run_loop); 
}
static void perform_signal_callback ( void * context ) { hid_device * dev = ( hid_device * ) context ; CFRunLoopStop ( dev -> run_loop ) ; }
This gets called when the read_thred's run loop gets signaled by
hid_close(), and serves to stop the read_thread's run loop.
This gets called when the read_thred ' s run loop gets signaled by hid_close () and serves to stop the read_thread ' s run loop .
//TODO: CFRunLoopGetCurrent()