MCPcopy Create free account
hub / github.com/LouisBrunner/valgrind-macos / thread_func

Function thread_func

drd/tests/annotate_smart_pointer.cpp:301–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299};
300
301static void* thread_func(void* arg)
302{
303 smart_ptr<counter>* pp = reinterpret_cast<smart_ptr<counter>*>(arg);
304 (*pp)->post_increment();
305 *pp = NULL;
306 delete pp;
307 return NULL;
308}
309
310int main(int argc, char** argv)
311{

Callers

nothing calls this directly

Calls 1

post_incrementMethod · 0.80

Tested by

no test coverage detected