server-skynet-source-3rd-je.../include
Qi Wang ce0b7ab6c8 Inline the storage for thread name in prof_tdata_t.
The previous approach managed the thread name in a separate buffer, which causes
races because the thread name update (triggered by new samples) can happen at
the same time as prof dumping (which reads the thread names) -- these two
operations are under separate locks to avoid blocking each other.  Implemented
the thread name storage as part of the tdata struct, which resolves the lifetime
issue and also avoids internal alloc / dalloc during prof_sample.
2023-04-05 10:03:12 -07:00
..
jemalloc Inline the storage for thread name in prof_tdata_t. 2023-04-05 10:03:12 -07:00
msvc_compat Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00