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

Function py_thead_h

src/pystack/_pystack/version.cpp:109–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108template<class T>
109constexpr py_thread_v
110py_thead_h()
111{
112 /* Hack. Python 3.3 and below don't have the prev field */
113 return {
114 sizeof(T),
115 {offsetof(T, next)},
116 {offsetof(T, next)},
117 {offsetof(T, interp)},
118 {offsetof(T, frame)},
119 {offsetof(T, thread_id)},
120 };
121}
122
123template<class T>
124constexpr py_thread_v

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected