signal11/hidapi — pull request #32 by vlovich (2011-11-23 02:20:06+00:00)
Title: Fixup cleanup code on mac

Declare certain variables shared between threads volatile & clean them
up better (i.e. don't try closing the HID device more than once).

Additionnally, cleanup the hid report callback unregistration (pass in
NULLs for unused params).