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

Method run

lib_fiber/samples-c++/pgsql/main.cpp:118–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117protected:
118 void* run(void)
119 {
120 pgsql_oper dboper(dbp_, id_);
121
122 if (oper_.equal("add", false))
123 dboper.pgsql_add(count_);
124 else if (oper_.equal("get", false))
125 dboper.pgsql_get(count_);
126 else
127 printf("unknown command: %s\r\n", oper_.c_str());
128
129 return NULL;
130 }
131
132private:
133 int id_;

Callers

nothing calls this directly

Calls 4

equalMethod · 0.80
pgsql_addMethod · 0.80
pgsql_getMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected