MCPcopy Create free account
hub / github.com/nodejs/nan / Execute

Method Execute

test/cpp/threadlocal.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 t->ok(_(this == nauv_key_get(&tls_key)));
25 }
26 void Execute() {
27 ok(_(NULL == nauv_key_get(&tls_key)));
28 nauv_key_set(&tls_key, &i);
29 ok(_(&i == nauv_key_get(&tls_key)));
30 nauv_key_set(&tls_key, NULL);
31 ok(_(NULL == nauv_key_get(&tls_key)));
32 }
33 void WorkComplete() {
34 HandleScope scope;
35 for (unsigned j = 0; j < i; ++j)

Callers

nothing calls this directly

Calls 2

nauv_key_getFunction · 0.85
nauv_key_setFunction · 0.85

Tested by

no test coverage detected