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

Method thread_migrate

thread/workerpool.cpp:212–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210
211void WorkPool::enqueue(Delegate<void> call) { pImpl->enqueue(call); }
212int WorkPool::thread_migrate(photon::thread* th, size_t index) {
213 return pImpl->thread_migrate(th, index);
214}
215int WorkPool::join_current_vcpu_into_workpool() {
216 return pImpl->join_current_vcpu_into_workpool();
217}

Callers 5

do_io_testFunction · 0.45
ping_pong_clientFunction · 0.45
do_migrateMethod · 0.45
migrateFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 2

do_io_testFunction · 0.36
TESTFunction · 0.36