| 328 | |
| 329 | private: |
| 330 | void exceptInLoopThread() const |
| 331 | { |
| 332 | #ifndef NDEBUG |
| 333 | assert(isInLoopThread()); |
| 334 | #endif |
| 335 | if (!isInLoopThread()) |
| 336 | { |
| 337 | std::stringstream ss; |
| 338 | ss << "this call stack not in io thread" |
| 339 | << ", current thread id:" << current_thread::tid() |
| 340 | << ", but event loop self thread id:" << mSelfThreadID; |
| 341 | throw BrynetCommonException(ss.str()); |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | void reAllocEventSize(size_t size) |
| 346 | { |
nothing calls this directly
no test coverage detected