MCPcopy Create free account
hub / github.com/ErickWendel/myownnode / RunThread

Method RunThread

preclass/capivara/app/src/thread.hpp:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22public:
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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected