| 79 | } |
| 80 | |
| 81 | void *ReplicationManager::SlaveManager(void *arg) { |
| 82 | ReplicationManager *manager = (ReplicationManager*) arg; |
| 83 | ReplicationImpl * impl = manager->GetImpl(); |
| 84 | if(!impl){ |
| 85 | LogVerbose("%s impl has been closed",__func__); |
| 86 | return NULL; |
| 87 | } |
| 88 | |
| 89 | int ret = impl->Process(); |
| 90 | if (ret) { |
| 91 | ColorLogError("deal with salve fail"); |
| 92 | } |
| 93 | ColorLogError("deal with salve done, impl %p", &impl); |
| 94 | |
| 95 | return NULL; |
| 96 | } |
| 97 | |
| 98 | } |
nothing calls this directly
no test coverage detected