#include <v8-platform.h>
A JobTask represents work to run in parallel from Platform::PostJob().
Definition at line 199 of file v8-platform.h.
◆ ~JobTask()
virtual v8::JobTask::~JobTask |
( |
| ) |
|
|
virtualdefault |
◆ GetMaxConcurrency()
virtual size_t v8::JobTask::GetMaxConcurrency |
( |
| ) |
const |
|
pure virtual |
Controls the maximum number of threads calling Run() concurrently. Run() is only invoked if the number of threads previously running Run() was less than the value returned. Since GetMaxConcurrency() is a leaf function, it must not call back any JobHandle methods.
◆ Run()
virtual void v8::JobTask::Run |
( |
JobDelegate * |
delegate | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: