There was an error while loading. Please reload this page.
1 parent 78668ca commit 237418dCopy full SHA for 237418d
1 file changed
InternalDocs/profiling_binary_format.md
@@ -212,6 +212,7 @@ The status byte is a bitfield encoding thread state at sample time:
212
| 2 | THREAD_STATUS_UNKNOWN | Thread state could not be determined |
213
| 3 | THREAD_STATUS_GIL_REQUESTED | Thread is waiting to acquire the GIL |
214
| 4 | THREAD_STATUS_HAS_EXCEPTION | Thread has a pending exception |
215
+| 5 | THREAD_STATUS_MAIN_THREAD | Thread is the process's main thread |
216
217
Multiple flags can be set simultaneously (e.g., a thread can hold the GIL
218
while also running on CPU). Analysis tools use these to filter samples or
0 commit comments