parent
11385c7b85
commit
f4b0ec560b
@ -56,6 +56,10 @@ class V8_PLATFORM_EXPORT DefaultForegroundTaskRunner
|
||||
double delay_in_seconds) override;
|
||||
bool NonNestableTasksEnabled() const override;
|
||||
|
||||
inline void PostSignalTask(std::unique_ptr<Task> task) override {
|
||||
this->PostTask(std::move(task));
|
||||
}
|
||||
|
||||
private:
|
||||
enum Nestability { kNestable, kNonNestable };
|
||||
|
||||
|
@ -41,6 +41,10 @@ class V8_PLATFORM_EXPORT DefaultWorkerThreadsTaskRunner
|
||||
|
||||
bool IdleTasksEnabled() override;
|
||||
|
||||
inline void PostSignalTask(std::unique_ptr<Task> task) override {
|
||||
this->PostTask(std::move(task));
|
||||
}
|
||||
|
||||
private:
|
||||
class WorkerThread : public base::Thread {
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user