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

Method eject_whole_atomic

thread/thread.cpp:357–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355 this->node = head;
356 }
357 thread* eject_whole_atomic() {
358 if (!node) return nullptr;
359 SCOPED_LOCK(lock);
360 return eject_whole();
361 }
362 thread* eject_whole() {
363 auto p = node;
364 node = nullptr;

Callers 1

resume_threads_inlinedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected