| 1613 | _th = nullptr; |
| 1614 | } |
| 1615 | void* Timer::_stub(void* _this) |
| 1616 | { |
| 1617 | static_cast<Timer*>(_this)->stub(); |
| 1618 | return nullptr; |
| 1619 | } |
| 1620 | |
| 1621 | int ticket_spinlock::lock() { |
| 1622 | const auto ticket = next.fetch_add(1, std::memory_order_relaxed); |