diff options
author | Peter Stuge <peter@stuge.se> | 2010-05-11 00:51:43 +0100 |
---|---|---|
committer | Daniel Drake <dan@reactivated.net> | 2010-05-12 22:11:29 -0300 |
commit | 23b5db8b3e353176dfa0635bfb6f0e2658f6e3de (patch) | |
tree | fa8d63b97d0ae45724eb2ebd2cc13853dae93993 /AUTHORS | |
parent | a04cbb0095a78aeed3f65aaf06c46069d0ac184a (diff) | |
download | libusbx-23b5db8b3e353176dfa0635bfb6f0e2658f6e3de.tar.gz |
Add internal abstraction for POSIX Threads
This prepares for a Windows backend without dependency on pthreads-w32.
pthread_* is renamed to usbi_* and PTHREAD_* to USBI_*.
A usbi_mutex_static_t and usbi_mutex_static_lock() and _unlock() are
introduced for statically initialized mutexes, since they may be
implemented using other types when pthreads mutexes aren't used.
Move -pthread from libusb/Makefile.am to host-specific THREAD_CFLAGS in
configure.ac. This will enable optional use of -lpthread for cygwin.
[dsd: minor tweaks, and roll in a change based on patches from Pete
Batard to only build dpfp_threaded example when we're using pthreads]
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -14,6 +14,7 @@ Hans Ulrich Niedermann Ludovic Rousseau Martin Koegler Mikhail Gusarov +Peter Stuge Rob Walker Toby Peterson Vasily Khoruzhick |