* returns false if failed by timeout */
| 35 | * returns false if failed by timeout |
| 36 | */ |
| 37 | inline bool WaitT(TMutex& m, TDuration timeout) noexcept { |
| 38 | return WaitD(m, timeout.ToDeadLine()); |
| 39 | } |
| 40 | |
| 41 | template <typename P> |
| 42 | inline bool WaitT(TMutex& m, TDuration timeout, P pred) noexcept { |
no test coverage detected