Definition at line 228 of file thread_test.cc.
◆ SimpleTaskWithZoneAllocation()
dart::SimpleTaskWithZoneAllocation::SimpleTaskWithZoneAllocation |
( |
intptr_t |
id, |
|
|
IsolateGroup * |
isolate_group, |
|
|
Thread ** |
thread_ptr, |
|
|
Monitor * |
sync, |
|
|
Monitor * |
monitor, |
|
|
intptr_t * |
done_count, |
|
|
bool * |
wait |
|
) |
| |
|
inline |
Definition at line 230 of file thread_test.cc.
237 : id_(id),
238 isolate_group_(isolate_group),
239 thread_ptr_(thread_ptr),
240 sync_(sync),
241 monitor_(monitor),
242 done_count_(done_count),
243 wait_(wait) {}
◆ Run()
virtual void dart::SimpleTaskWithZoneAllocation::Run |
( |
| ) |
|
|
inlinevirtual |
Implements dart::ThreadPool::Task.
Definition at line 245 of file thread_test.cc.
245 {
246 const bool kBypassSafepoint = false;
248 kBypassSafepoint);
249 {
251 *thread_ptr_ = thread;
252 CreateStackZones(id_);
253 }
255
256 {
257 MonitorLocker ml(monitor_);
258 *done_count_ += 1;
259 ml.Notify();
260 }
261 }
static Thread * Current()
static void ExitIsolateGroupAsHelper(bool bypass_safepoint)
static bool EnterIsolateGroupAsHelper(IsolateGroup *isolate_group, TaskKind kind, bool bypass_safepoint)
The documentation for this class was generated from the following file: