MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / _stub

Method _stub

thread/thread.cpp:1615–1619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 1

stubMethod · 0.45

Tested by

no test coverage detected