Flutter Engine
The Flutter Engine
|
#include "src/base/SkSharedMutex.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkSemaphore.h"
#include <cinttypes>
#include <cstdint>
Go to the source code of this file.
Macros | |
#define | __has_feature(x) 0 |
#define | ANNOTATE_RWLOCK_CREATE(lock) |
#define | ANNOTATE_RWLOCK_DESTROY(lock) |
#define | ANNOTATE_RWLOCK_ACQUIRED(lock, is_w) |
#define | ANNOTATE_RWLOCK_RELEASED(lock, is_w) |
Enumerations | |
enum | { kSharedOffset = (0 * kLogThreadCount) , kWaitingExlusiveOffset = (1 * kLogThreadCount) , kWaitingSharedOffset = (2 * kLogThreadCount) , kSharedMask = ((1 << kLogThreadCount) - 1) << kSharedOffset , kWaitingExclusiveMask = ((1 << kLogThreadCount) - 1) << kWaitingExlusiveOffset , kWaitingSharedMask = ((1 << kLogThreadCount) - 1) << kWaitingSharedOffset } |
Variables | |
static const int | kLogThreadCount = 10 |
#define __has_feature | ( | x | ) | 0 |
Definition at line 17 of file SkSharedMutex.cpp.
#define ANNOTATE_RWLOCK_ACQUIRED | ( | lock, | |
is_w | |||
) |
Definition at line 70 of file SkSharedMutex.cpp.
#define ANNOTATE_RWLOCK_CREATE | ( | lock | ) |
Definition at line 68 of file SkSharedMutex.cpp.
#define ANNOTATE_RWLOCK_DESTROY | ( | lock | ) |
Definition at line 69 of file SkSharedMutex.cpp.
#define ANNOTATE_RWLOCK_RELEASED | ( | lock, | |
is_w | |||
) |
Definition at line 71 of file SkSharedMutex.cpp.
anonymous enum |
Enumerator | |
---|---|
kSharedOffset | |
kWaitingExlusiveOffset | |
kWaitingSharedOffset | |
kSharedMask | |
kWaitingExclusiveMask | |
kWaitingSharedMask |
Definition at line 262 of file SkSharedMutex.cpp.
|
static |
Definition at line 260 of file SkSharedMutex.cpp.