MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / join

Method join

system/lib/libcxx/src/thread.cpp:42–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void thread::join() {
43 int ec = EINVAL;
44 if (!__libcpp_thread_isnull(&__t_)) {
45 ec = __libcpp_thread_join(&__t_);
46 if (ec == 0)
47 __t_ = _LIBCPP_NULL_THREAD;
48 }
49
50 if (ec)
51 std::__throw_system_error(ec, "thread::join failed");
52}
53
54void thread::detach() {
55 int ec = EINVAL;

Callers 15

serve_foreverMethod · 0.45
send_headMethod · 0.45
do_POSTMethod · 0.45
win_get_gpu_infoFunction · 0.45
get_executable_versionFunction · 0.45
get_browser_build_dateFunction · 0.45
get_computer_modelFunction · 0.45
get_os_versionFunction · 0.45
whichFunction · 0.45
find_browserFunction · 0.45
parse_argsFunction · 0.45

Calls 3

__throw_system_errorFunction · 0.70
__libcpp_thread_isnullFunction · 0.50
__libcpp_thread_joinFunction · 0.50

Tested by 15

check_fileFunction · 0.36
__exit__Method · 0.36
buildMethod · 0.36
setUpClassMethod · 0.36
do_benchmarkMethod · 0.36
lib_builderMethod · 0.36
luaMethod · 0.36
for_all_filesFunction · 0.36
ignore_pathFunction · 0.36
path_without_toolFunction · 0.36
doMethod · 0.36
make_new_executableMethod · 0.36