LeechCraft  0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
attributes.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LC_THREAD_ANNOTATION(x)
 
#define GUARDED_BY(m)   LC_THREAD_ANNOTATION(guarded_by(m))
 
#define CAPABILITY(s)   LC_THREAD_ANNOTATION(capability(s))
 
#define SCOPED_LOCKABLE   LC_THREAD_ANNOTATION(scoped_lockable)
 
#define ACQUIRE(...)   LC_THREAD_ANNOTATION(acquire_capability(__VA_ARGS__))
 
#define RELEASE(...)   LC_THREAD_ANNOTATION(release_capability(__VA_ARGS__))
 

Macro Definition Documentation

◆ ACQUIRE

#define ACQUIRE (   ...)    LC_THREAD_ANNOTATION(acquire_capability(__VA_ARGS__))

Definition at line 20 of file attributes.h.

Referenced by LC::Util::CAPABILITY().

◆ CAPABILITY

#define CAPABILITY (   s)    LC_THREAD_ANNOTATION(capability(s))

Definition at line 18 of file attributes.h.

◆ GUARDED_BY

#define GUARDED_BY (   m)    LC_THREAD_ANNOTATION(guarded_by(m))

Definition at line 17 of file attributes.h.

◆ LC_THREAD_ANNOTATION

#define LC_THREAD_ANNOTATION (   x)

Definition at line 14 of file attributes.h.

◆ RELEASE

#define RELEASE (   ...)    LC_THREAD_ANNOTATION(release_capability(__VA_ARGS__))

Definition at line 21 of file attributes.h.

Referenced by LC::Util::CAPABILITY().

◆ SCOPED_LOCKABLE

#define SCOPED_LOCKABLE   LC_THREAD_ANNOTATION(scoped_lockable)

Definition at line 19 of file attributes.h.