| 33 | } |
| 34 | |
| 35 | static void Thread(const v8::FunctionCallbackInfo<v8::Value> &args) |
| 36 | { |
| 37 | auto isolate = args.GetIsolate(); |
| 38 | auto context = isolate->GetCurrentContext(); |
| 39 | int64_t counter = args[0]->IntegerValue(context).ToChecked(); |
| 40 | |
| 41 | uv_thread_t taskId; |
| 42 | uv_thread_create(&taskId, RunThread, &counter); |
| 43 | // uv_thread_join(&taskId); |
| 44 | } |
| 45 | }; |
nothing calls this directly
no test coverage detected