JP Abgrall | 408fa57 | 2011-03-16 15:57:42 -0700 | [diff] [blame] | 1 | /* 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 Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 6 | #ifndef ADB_MUTEX |
| 7 | #error ADB_MUTEX not defined when including this file |
| 8 | #endif |
Josh Gao | 250107e | 2015-11-06 12:18:34 -0800 | [diff] [blame] | 9 | ADB_MUTEX(basename_lock) |
Spencer Low | 22191c3 | 2015-08-01 17:29:23 -0700 | [diff] [blame] | 10 | ADB_MUTEX(dirname_lock) |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 11 | ADB_MUTEX(transport_lock) |
| 12 | #if ADB_HOST |
| 13 | ADB_MUTEX(local_transports_lock) |
| 14 | #endif |
| 15 | ADB_MUTEX(usb_lock) |
| 16 | |
| 17 | #undef ADB_MUTEX |