Definition at line 32 of file safepoint_test.cc.
◆ Data()
dart::StateMachineTask::Data::Data |
( |
IsolateGroup * |
isolate_group | ) |
|
|
inlineexplicit |
◆ AssertIsIn()
void dart::StateMachineTask::Data::AssertIsIn |
( |
intptr_t |
expected_state | ) |
|
|
inline |
Definition at line 47 of file safepoint_test.cc.
47 {
48 MonitorLocker ml(&monitor_);
49 EXPECT_EQ(expected_state,
state);
50 }
◆ AssertIsNotIn()
void dart::StateMachineTask::Data::AssertIsNotIn |
( |
intptr_t |
expected_state | ) |
|
|
inline |
Definition at line 51 of file safepoint_test.cc.
51 {
52 MonitorLocker ml(&monitor_);
53 EXPECT_NE(expected_state,
state);
54 }
◆ IsIn()
bool dart::StateMachineTask::Data::IsIn |
( |
intptr_t |
expected_state | ) |
|
|
inline |
Definition at line 55 of file safepoint_test.cc.
55 {
56 MonitorLocker ml(&monitor_);
57 return expected_state ==
state;
58 }
◆ MarkAndNotify()
void dart::StateMachineTask::Data::MarkAndNotify |
( |
intptr_t |
target_state | ) |
|
|
inline |
Definition at line 42 of file safepoint_test.cc.
42 {
43 MonitorLocker ml(&monitor_);
45 ml.Notify();
46 }
◆ WaitUntil()
void dart::StateMachineTask::Data::WaitUntil |
( |
intptr_t |
target_state | ) |
|
|
inline |
Definition at line 36 of file safepoint_test.cc.
36 {
37 MonitorLocker ml(&monitor_);
38 while (
state != target_state) {
39 ml.Wait();
40 }
41 }
◆ isolate_group_
◆ state
The documentation for this struct was generated from the following file: