MCPcopy Create free account
hub / github.com/acl-dev/acl / run

Method run

lib_acl_cpp/samples/atomic/main.cpp:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27protected:
28 void* run(void)
29 {
30 for (int i = 0; i < max_; i++) {
31 count_.add_fetch(1);
32 ++count_;
33 }
34 return NULL;
35 }
36
37private:
38 acl::atomic_long& count_;

Callers 1

mainFunction · 0.45

Calls 1

add_fetchMethod · 0.80

Tested by

no test coverage detected