LeechCraft 0.6.70-17769-g4e68d7fcba
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
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)
#define CAPABILITY(s)
#define SCOPED_LOCKABLE   LC_THREAD_ANNOTATION(scoped_lockable)
#define ACQUIRE(...)
#define RELEASE(...)

Macro Definition Documentation

◆ ACQUIRE

#define ACQUIRE ( ...)
Value:
LC_THREAD_ANNOTATION(acquire_capability(__VA_ARGS__))
#define LC_THREAD_ANNOTATION(x)
Definition attributes.h:14

Definition at line 20 of file attributes.h.

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

◆ CAPABILITY

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

Definition at line 18 of file attributes.h.

◆ GUARDED_BY

#define GUARDED_BY ( m)
Value:
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 ( ...)
Value:
LC_THREAD_ANNOTATION(release_capability(__VA_ARGS__))

Definition at line 21 of file attributes.h.

Referenced by LC::Util::MutexLocker::~MutexLocker(), and LC::Util::CAPABILITY().

◆ SCOPED_LOCKABLE

#define SCOPED_LOCKABLE   LC_THREAD_ANNOTATION(scoped_lockable)

Definition at line 19 of file attributes.h.