| 5129 | } |
| 5130 | |
| 5131 | bool client::postFunction(std::function<void(client *)> fn, bool fLock) { |
| 5132 | this->casyncOpsPending++; |
| 5133 | return aePostFunction(g_pserver->rgthreadvar[this->iel].el, [this, fn]{ |
| 5134 | std::lock_guard<decltype(this->lock)> lock(this->lock); |
| 5135 | fn(this); |
| 5136 | --casyncOpsPending; |
| 5137 | }, fLock) == AE_OK; |
| 5138 | } |
| 5139 | |
| 5140 | std::vector<robj_sharedptr> clientArgs(client *c) { |
| 5141 | std::vector<robj_sharedptr> args; |
no test coverage detected