Changeset 20085 for trunk/FACT++
- Timestamp:
- 04/19/21 11:43:36 (4 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8-4.cc
r20083 r20085 222 222 } 223 223 224 void InterpreterV8::Thread( int &id,v8::UniquePersistent<Object> &_this, v8::UniquePersistent<v8::Object> &func, uint32_t ms)224 void InterpreterV8::Thread(v8::UniquePersistent<Object> &_this, v8::UniquePersistent<v8::Object> &func, uint32_t ms) 225 225 { 226 226 Isolate *isolate = fMainThread; … … 305 305 306 306 //int id=__id; 307 fThreads.push_back(thread(bind(&InterpreterV8::Thread, this, ref(id),std::move(_this), std::move(func), ms)));307 fThreads.push_back(thread(bind(&InterpreterV8::Thread, this, /*ref(id),*/ std::move(_this), std::move(func), ms))); 308 308 /* 309 309 { -
trunk/FACT++/src/InterpreterV8-4.h
r20083 r20085 77 77 v8::Handle<v8::Value> ExecuteInternal(const std::string &code); 78 78 79 void Thread( int &id,v8::UniquePersistent<v8::Object> &_this, v8::UniquePersistent<v8::Object> &func, uint32_t ms);79 void Thread(v8::UniquePersistent<v8::Object> &_this, v8::UniquePersistent<v8::Object> &func, uint32_t ms); 80 80 81 81 std::vector<std::string> ValueToArray(const v8::Handle<v8::Value> &val, bool only=true);
Note:
See TracChangeset
for help on using the changeset viewer.