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

5 lines
150 B
C

struct __attribute__((lockable)) mutex {
void lock() __attribute__((exclusive_lock_function));
void unlock() __attribute__((unlock_function));
};