Definition at line 100 of file custom_isolate_test.cc.
◆ EventQueue()
dart::EventQueue::EventQueue |
( |
| ) |
|
|
inline |
◆ Add()
void dart::EventQueue::Add |
( |
Event * |
event | ) |
|
|
inline |
◆ Get()
Event * dart::EventQueue::Get |
( |
| ) |
|
|
inline |
Definition at line 114 of file custom_isolate_test.cc.
114 {
115 if (head_ == nullptr) {
116 return nullptr;
117 }
119 head_ = head_->next_;
120 if (head_ == nullptr) {
121
122 tail_ = nullptr;
123 }
124
125 return tmp;
126 }
◆ RemoveEventsForIsolate()
void dart::EventQueue::RemoveEventsForIsolate |
( |
Dart_Isolate |
isolate | ) |
|
|
inline |
Definition at line 128 of file custom_isolate_test.cc.
128 {
131 while (cur != nullptr) {
133 if (cur->isolate() == isolate) {
134
135 if (
prev !=
nullptr) {
137 } else {
139 }
140 delete cur;
141 } else {
142
144 }
146 }
148 }
static float next(float f)
static float prev(float f)
The documentation for this class was generated from the following file: