MCPcopy Create free account
hub / github.com/MariaDB/server / increment_conn

Method increment_conn

plugin/handler_socket/client/hstest.cpp:150–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 atomic_exchange_and_add(&count, c);
149 }
150 void increment_conn(unsigned int c) const volatile {
151 atomic_exchange_and_add(&conn_count, c);
152 while (wait_conn != 0 && conn_count < wait_conn) {
153 sleep(1);
154 }
155 // fprintf(stderr, "wait_conn=%ld done\n", wait_conn);
156 }
157};
158
159struct hstest_thread {

Callers 2

test_9Method · 0.80
test_10Method · 0.80

Calls 1

atomic_exchange_and_addFunction · 0.85

Tested by

no test coverage detected