| 41 | } |
| 42 | |
| 43 | void ProcessSync::Sync(int expected_cnt) |
| 44 | { |
| 45 | AO_ADD(shm_ptr_, 1); |
| 46 | while (AO_GET(shm_ptr_) != expected_cnt) { |
| 47 | std::this_thread::sleep_for(std::chrono::milliseconds(1)); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | void ProcessSync::Sync(int expected_cnt, const char *client_name) |
| 52 | { |
nothing calls this directly
no outgoing calls
no test coverage detected