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

Method get_vcpu

thread/thread.cpp:282–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 void die() __attribute__((always_inline));
281 void dequeue_ready_atomic(states newstat = states::READY);
282 vcpu_t* get_vcpu() {
283 return (vcpu_t*)vcpu;
284 }
285 bool operator < (const thread &rhs) {
286 return this->ts_wakeup < rhs.ts_wakeup;
287 }

Callers 14

wait_for_completionFunction · 0.80
AtomicRunQMethod · 0.80
prepare_switchFunction · 0.80
thread_yield_toFunction · 0.80
prepare_usleepFunction · 0.80
try_work_stealingFunction · 0.80
idlerFunction · 0.80
wait_allFunction · 0.80
do_thread_migrateFunction · 0.80

Calls

no outgoing calls

Tested by 2

wait_for_completionFunction · 0.64
wait_for_completionFunction · 0.64