Changeset 14600 for trunk/FACT++
- Timestamp:
- 11/10/12 13:08:18 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8.cc
r14599 r14600 25 25 26 26 // ========================================================================== 27 // Some documentation 28 // ========================================================================== 29 // 30 // Threads: 31 // -------- 32 // In most cases Js* and other calls to native C++ code could be wrapped 33 // with an Unlocker to allow possible other JavaScipt 'threads' to run 34 // during that time. However, all of these calls should take much less than 35 // the preemption time of 10ms, so it would just be a waste of tim. 36 // 37 // Termination: 38 // ------------ 39 // Each thread running V8 code needs to be signalled individually for 40 // termination. 41 // 42 43 // ========================================================================== 27 44 // Simple interface 28 45 // ========================================================================== … … 30 47 void InterpreterV8::Terminate() 31 48 { 49 /* 32 50 for (auto it=fThreadIds.begin(); it!=fThreadIds.end(); it++) 33 51 V8::TerminateExecution(*it); 34 52 fThreadIds.clear(); 35 53 */ 36 54 if (fThreadId<0) 37 55 return;
Note:
See TracChangeset
for help on using the changeset viewer.