darwin: initial implemenations of the hotplug_poll function
authorNathan Hjelm <hjelmn@me.com>
Mon, 12 May 2014 23:36:46 +0000 (17:36 -0600)
committerNathan Hjelm <hjelmn@me.com>
Mon, 12 May 2014 23:40:12 +0000 (17:40 -0600)
commit26dab3d6808a00c28a0d222c8f6625d4e719a5b2
treeb28ffe88ed7314bb3320d7931374d920b3942d10
parent3893c4fcc92765cfa934e8762b7951fe8648ef7e
darwin: initial implemenations of the hotplug_poll function

This implementation makes use of the IOKitWaitQuiet which waits until
all IOKit processing is complete. The performance won't necessarily be
great but it should help codes that have not yet or cannot move to the
libusb hotplug API.

Signed-off-by: Nathan Hjelm <hjelmn@me.com>
libusb/os/darwin_usb.c
libusb/version_nano.h