core: Transition device close event to use event_data_lock
authorChris Dickens <christopher.a.dickens@gmail.com>
Tue, 18 Nov 2014 07:53:09 +0000 (23:53 -0800)
committerChris Dickens <chris.dickens@hp.com>
Fri, 19 Dec 2014 19:13:46 +0000 (11:13 -0800)
commit1b4b7f8b15fb98688a15c1125ede1e018a4451d6
tree9027f780ca2d6aead2b1928d511cbbd80629f1d6
parent0e62e5cf34cd02e811157ecb4c6725f2b940a136
core: Transition device close event to use event_data_lock

This change removes the device_close_lock and uses the shared event
data lock to protect the value of the device_close counter.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/core.c
libusb/io.c
libusb/libusbi.h
libusb/version_nano.h