| 35 | |
| 36 | |
| 37 | void TCont::PrintMe(IOutputStream& out) const noexcept { |
| 38 | out << "cont(" |
| 39 | << "name = " << Name_ << ", " |
| 40 | << "addr = " << Hex((size_t)this) |
| 41 | << ")"; |
| 42 | } |
| 43 | |
| 44 | bool TCont::Join(TCont* c, TInstant deadLine, std::function<void(TJoinWait&, TCont*)> forceStop) noexcept { |
| 45 | TJoinWait ev(*this); |