|
Node.js
v8.x
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
|
#include <node_platform.h>
Public Member Functions | |
| TaskQueue () | |
| ~TaskQueue () | |
| void | Push (T *task) |
| T * | Pop () |
| T * | BlockingPop () |
| void | NotifyOfCompletion () |
| void | BlockingDrain () |
| void | Stop () |
Definition at line 14 of file node_platform.h.
| TaskQueue | ( | ) |
Definition at line 129 of file node_platform.cc.
|
inline |
Definition at line 17 of file node_platform.h.
| void BlockingDrain | ( | ) |
Definition at line 175 of file node_platform.cc.
Referenced by NodePlatform::DrainBackgroundTasks(), and TaskQueue< v8::Task >::~TaskQueue().
| T * BlockingPop | ( | ) |
Definition at line 153 of file node_platform.cc.
Referenced by TaskQueue< v8::Task >::~TaskQueue().
| void NotifyOfCompletion | ( | ) |
Definition at line 167 of file node_platform.cc.
Referenced by TaskQueue< v8::Task >::~TaskQueue().
| T * Pop | ( | ) |
Definition at line 142 of file node_platform.cc.
Referenced by NodePlatform::FlushForegroundTasksInternal(), and TaskQueue< v8::Task >::~TaskQueue().
| void Push | ( | T * | task | ) |
Definition at line 134 of file node_platform.cc.
Referenced by NodePlatform::CallDelayedOnForegroundThread(), NodePlatform::CallOnBackgroundThread(), NodePlatform::CallOnForegroundThread(), and TaskQueue< v8::Task >::~TaskQueue().
| void Stop | ( | ) |
Definition at line 183 of file node_platform.cc.
Referenced by NodePlatform::Shutdown(), and TaskQueue< v8::Task >::~TaskQueue().