Darwin: Set a name for the background thread on Mac OS X 10.6 and later
authorSean McBride <sean@rogue-research.com>
Fri, 14 Oct 2011 18:40:29 +0000 (14:40 -0400)
committerPeter Stuge <peter@stuge.se>
Fri, 9 Dec 2011 06:26:58 +0000 (07:26 +0100)
commite88ecb1e65604c222f82da586bb9e9066d66fbba
tree86f8fc116304988cd9464847f75ff11a209d1746
parent60bad550dcb31a315a667a6614c52f712c82f45f
Darwin: Set a name for the background thread on Mac OS X 10.6 and later

The call to pthread_setname_np() makes it easy to identify the
background thread in the Xcode debugger and in crash reports.
libusb/os/darwin_usb.c