llvm-for-llvmta/tools/clang/test/Modules/Inputs/thread-safety/a.h

5 lines
150 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
struct __attribute__((lockable)) mutex {
void lock() __attribute__((exclusive_lock_function));
void unlock() __attribute__((unlock_function));
};