Sha256: 1e8f614cfefe4d29ebd35cac0784724284aefb7e67a558f7b15341d5659faf98
Contents?: true
Size: 761 Bytes
Versions: 5
Compression:
Stored size: 761 Bytes
Contents
// Copyright 2013 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_LIBPLATFORM_WORKER_THREAD_H_ #define V8_LIBPLATFORM_WORKER_THREAD_H_ #include <queue> #include "src/base/macros.h" #include "src/base/platform/platform.h" namespace v8 { namespace platform { class TaskQueue; class WorkerThread : public base::Thread { public: explicit WorkerThread(TaskQueue* queue); virtual ~WorkerThread(); // Thread implementation. void Run() override; private: friend class QuitTask; TaskQueue* queue_; DISALLOW_COPY_AND_ASSIGN(WorkerThread); }; } // namespace platform } // namespace v8 #endif // V8_LIBPLATFORM_WORKER_THREAD_H_
Version data entries
5 entries across 4 versions & 1 rubygems