File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -4043,6 +4043,18 @@ void FreeEnvironment(Environment* env) {
40434043}
40444044
40454045
4046+ MultiIsolatePlatform* CreatePlatform (
4047+     int  thread_pool_size,
4048+     v8::TracingController* tracing_controller) {
4049+   return  new  NodePlatform (thread_pool_size, tracing_controller);
4050+ }
4051+ 
4052+ 
4053+ void  FreePlatform (MultiIsolatePlatform* platform) {
4054+   delete  platform;
4055+ }
4056+ 
4057+ 
40464058inline  int  Start (Isolate* isolate, IsolateData* isolate_data,
40474059                 int  argc, const  char * const * argv,
40484060                 int  exec_argc, const  char * const * exec_argv) {
Original file line number Diff line number Diff line change 9797//  Forward-declare libuv loop
9898struct  uv_loop_s ;
9999
100+ //  Forward-declare TracingController, used by CreatePlatform.
101+ namespace  v8  {
102+ class  TracingController ;
103+ }
104+ 
100105//  Forward-declare these functions now to stop MSVS from becoming
101106//  terminally confused when it's done in node_internals.h
102107namespace  node  {
@@ -243,6 +248,11 @@ NODE_EXTERN Environment* CreateEnvironment(IsolateData* isolate_data,
243248NODE_EXTERN void  LoadEnvironment (Environment* env);
244249NODE_EXTERN void  FreeEnvironment (Environment* env);
245250
251+ NODE_EXTERN MultiIsolatePlatform* CreatePlatform (
252+     int  thread_pool_size,
253+     v8::TracingController* tracing_controller);
254+ NODE_EXTERN void  FreePlatform (MultiIsolatePlatform* platform);
255+ 
246256NODE_EXTERN void  EmitBeforeExit (Environment* env);
247257NODE_EXTERN int  EmitExit (Environment* env);
248258NODE_EXTERN void  RunAtExit (Environment* env);
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments