MCPcopy Create free account
hub / github.com/LouisBrunner/valgrind-macos / _v_execute_native_thread_routine

Function _v_execute_native_thread_routine

drd/tests/std_thread.cpp:29–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27//
28
29extern "C" void* _v_execute_native_thread_routine(void* __p)
30{
31 std::thread::_Impl_base* __t = static_cast<std::thread::_Impl_base*>(__p);
32 std::thread::__shared_base_type __local;
33 __local.swap(__t->_M_this_ptr);
34
35 __try {
36 __t->_M_run();
37 } __catch(const __cxxabiv1::__forced_unwind&) {
38 __throw_exception_again;
39 } __catch(...) {
40 std::terminate();
41 }
42
43 return 0;
44}
45
46#include <system_error>
47

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected