Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/PhotonLibOS
/ thread_exit
Function
thread_exit
thread/thread.cpp:1548–1551 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1546
thread_join((join_handle*)th);
1547
}
1548
void thread_exit(void* retval) {
1549
CURRENT->retval = retval;
1550
_photon_thread_die(CURRENT);
1551
}
1552
1553
int thread_shutdown(thread* th, bool flag)
1554
{
Callers
1
st_thread_exit
Function · 0.85
Calls
1
_photon_thread_die
Function · 0.85
Tested by
no test coverage detected