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

Method dispose

thread/thread.cpp:288–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 return this->ts_wakeup < rhs.ts_wakeup;
287 }
288 void dispose() {
289 assert(state == states::DONE);
290 // `buf` and `stack_size` will always store on register
291 // when calling deallocating.
292 photon_thread_dealloc(buf, stack_size);
293 }
294 };
295
296#if defined(__has_feature)

Callers 1

thread_joinFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected