v8  3.28.71(node0.12.18)
V8 is Google's open source JavaScript engine
libplatform.h
Go to the documentation of this file.
1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef V8_LIBPLATFORM_LIBPLATFORM_H_
6 #define V8_LIBPLATFORM_LIBPLATFORM_H_
7 
8 #include "include/v8-platform.h"
9 
10 namespace v8 {
11 namespace platform {
12 
21 v8::Platform* CreateDefaultPlatform(int thread_pool_size = 0);
22 
23 
32 bool PumpMessageLoop(v8::Platform* platform, v8::Isolate* isolate);
33 
34 
35 } // namespace platform
36 } // namespace v8
37 
38 #endif // V8_LIBPLATFORM_LIBPLATFORM_H_
Definition: libplatform.h:10
v8::Platform * CreateDefaultPlatform(int thread_pool_size=0)
bool PumpMessageLoop(v8::Platform *platform, v8::Isolate *isolate)