blob: b59c9f200bba80a14fee66cd762b5b3d1fbe08e1 [file] [log] [blame]
JP Abgrall2e5dd6e2011-03-16 15:57:42 -07001/* the list of mutexes used by adb */
2/* #ifndef __MUTEX_LIST_H
3 * Do not use an include-guard. This file is included once to declare the locks
4 * and once in win32 to actually do the runtime initialization.
5 */
The Android Open Source Project9ca14dc2009-03-03 19:32:55 -08006#ifndef ADB_MUTEX
7#error ADB_MUTEX not defined when including this file
8#endif
Josh Gao9adf4f72015-11-06 12:18:34 -08009ADB_MUTEX(basename_lock)
Spencer Low939d0002015-08-01 17:29:23 -070010ADB_MUTEX(dirname_lock)
The Android Open Source Project9ca14dc2009-03-03 19:32:55 -080011ADB_MUTEX(socket_list_lock)
12ADB_MUTEX(transport_lock)
13#if ADB_HOST
14ADB_MUTEX(local_transports_lock)
15#endif
16ADB_MUTEX(usb_lock)
17
18#undef ADB_MUTEX