Windows: Further improve thread abstraction
authorChris Dickens <christopher.a.dickens@gmail.com>
Thu, 4 Jan 2018 21:42:52 +0000 (13:42 -0800)
committerChris Dickens <christopher.a.dickens@gmail.com>
Thu, 4 Jan 2018 21:42:52 +0000 (13:42 -0800)
commitf06c4f5b37178afbd8752799fe44080568c2b7fb
tree22e550f9760e9033b6463eb93cd43b3f3e556d5f
parent3f69af86769c98931061357e0f96aea4c349b5cb
Windows: Further improve thread abstraction

Adopt typedefs and inline functions to get the benefits of type checking.

Convert all trivial functions to inline and remove return values where
they aren't checked.

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