| 5 | class MyThread { |
| 6 | public: |
| 7 | static void RunThread(void *arg) |
| 8 | { |
| 9 | int counter = * ((int *)arg); |
| 10 | while(counter) { |
| 11 | counter --; |
| 12 | printf(".\n"); |
| 13 | uv_sleep(100); |
| 14 | } |
| 15 | printf("done running out thread!!\n"); |
| 16 | } |
| 17 | |
| 18 | static void Thread(const v8::FunctionCallbackInfo<v8::Value> &args) |
| 19 | { |
nothing calls this directly
no outgoing calls
no test coverage detected