MCPcopy Create free account
hub / github.com/bloomberg/pystack / thread_callback

Function thread_callback

src/pystack/_pystack/unwinder.cpp:465–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463}
464
465static int
466thread_callback(Dwfl_Thread* thread, void* thread_arg)
467{
468 auto tids = static_cast<std::vector<int>*>(thread_arg);
469 tids->emplace_back(dwfl_thread_tid(thread));
470 return DWARF_CB_OK;
471}
472
473struct ThreadArg
474{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected