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

Function thread_enable_join

thread/thread.cpp:1524–1528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1522 return indirect_lock<thread>(ppt, nullptr);
1523 }
1524 join_handle* thread_enable_join(thread* th, bool flag)
1525 {
1526 th->set_joinable(flag);
1527 return (join_handle*)th;
1528 }
1529
1530 void* thread_join(join_handle* jh) {
1531 auto th = (thread*)jh;

Callers 15

do_io_testFunction · 0.85
TEST_FFunction · 0.85
create_n_thread_doFunction · 0.85
start_loopMethod · 0.85
TCPSocketPoolMethod · 0.85
handle_requestMethod · 0.85
FOR_LOOPFunction · 0.85
test_clientFunction · 0.85
TESTFunction · 0.85
TestRPCServerMethod · 0.85
TESTFunction · 0.85

Calls 1

set_joinableMethod · 0.80

Tested by 15

do_io_testFunction · 0.68
TEST_FFunction · 0.68
create_n_thread_doFunction · 0.68
FOR_LOOPFunction · 0.68
test_clientFunction · 0.68
TESTFunction · 0.68
TestRPCServerMethod · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
run_real_socketFunction · 0.68