Core: Keep a list of contexts created by libusb_init()
authorNathan Hjelm <hjelmn@me.com>
Sun, 30 Sep 2012 17:49:01 +0000 (11:49 -0600)
committerHans de Goede <hdegoede@redhat.com>
Wed, 15 May 2013 11:05:07 +0000 (13:05 +0200)
commit913a233ec20bcabe7c372d423d14c71b2ddf722f
treeb9a684c522b51aa0c9c09daf2a94ed4ab148b347
parent2790e8f2b0f24381d5c9a89368ecea4ab95db8de
Core: Keep a list of contexts created by libusb_init()

* This list can be used by backends to determine which contexts
  need notification of device removal (and in the future device arrival).
  The active_contexts_list is protected from multiple access by the active_contexts_lock.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libusb/core.c
libusb/libusbi.h
libusb/os/darwin_usb.c
libusb/version_nano.h