| 433 | } |
| 434 | |
| 435 | inline void SetImpl(void* data, SOCKET fd, int what) { |
| 436 | with_lock (CommandLock_) { |
| 437 | Commands_.push_back(TCommand(fd, what, data)); |
| 438 | } |
| 439 | |
| 440 | Signal(); |
| 441 | } |
| 442 | |
| 443 | inline void Remove(SOCKET fd) noexcept { |
| 444 | with_lock (CommandLock_) { |