MCPcopy Create free account
hub / github.com/davisking/dlib / gincrement

Function gincrement

dlib/test/thread_pool.cpp:70–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 void gset_struct_to_zero (some_struct& a) { a.val = 0; }
69 void gset_to_zero (int& a) { a = 0; }
70 void gincrement (int& a) { ++a; }
71 void gadd (int a, const int& b, int& res) { dlib::sleep(20); res = a + b; }
72 void gadd1(int& a, int& res) { res += a; }
73 void gadd2 (int c, int a, const int& b, int& res) { dlib::sleep(20); res = a + b + c; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected