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

Function _v_execute_native_thread_routine

drd/tests/std_thread2.cpp:34–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected