| 21 | |
| 22 | public: |
| 23 | static void RunThread(void *arg) |
| 24 | { |
| 25 | int counter = *((int *)arg); |
| 26 | while (counter) |
| 27 | { |
| 28 | counter--; |
| 29 | fprintf(stderr, ".\n"); |
| 30 | uv_sleep(100); |
| 31 | } |
| 32 | fprintf(stderr, "Tortoise done running!\n"); |
| 33 | } |
| 34 | |
| 35 | static void Thread(const v8::FunctionCallbackInfo<v8::Value> &args) |
| 36 | { |
nothing calls this directly
no outgoing calls
no test coverage detected