blob: 4a188eef74206466a40719d4281cb4346d1c723e [file] [log] [blame]
JP Abgrall408fa572011-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 Projectdd7bc332009-03-03 19:32:55 -08006#ifndef ADB_MUTEX
7#error ADB_MUTEX not defined when including this file
8#endif
Josh Gao250107e2015-11-06 12:18:34 -08009ADB_MUTEX(basename_lock)
Spencer Low22191c32015-08-01 17:29:23 -070010ADB_MUTEX(dirname_lock)
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -080011ADB_MUTEX(transport_lock)
12#if ADB_HOST
13ADB_MUTEX(local_transports_lock)
14#endif
15ADB_MUTEX(usb_lock)
16
17#undef ADB_MUTEX