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

Method thread_create

thread/thread-pool.h:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 using IdentityPool0<TPControl>::enable_autoscale;
40 using IdentityPool0<TPControl>::disable_autoscale;
41 thread* thread_create(thread_entry start, void* arg)
42 {
43 return thread_create_ex(start, arg)->th;
44 }
45
46 // returns a TPControl* that can be used for join; need not be deleted;
47 TPControl* thread_create_ex(thread_entry start, void* arg, bool joinable = false);

Callers 9

serveMethod · 0.45
TESTFunction · 0.45
pool_in_poolFunction · 0.45
main_loopMethod · 0.45
main_loopMethod · 0.45
on_eventsMethod · 0.45
on_acceptFunction · 0.45
do_refill_rangeMethod · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
pool_in_poolFunction · 0.36