Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/async-profiler/async-profiler
/ LinuxThreadList
Method
LinuxThreadList
src/os_linux.cpp:66–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
64
65
public:
66
LinuxThreadList() : ThreadList() {
67
_dir = opendir(
"/proc/self/task"
);
68
_capacity = 128;
69
_thread_array = (int*)malloc(_capacity * sizeof(int));
70
fillThreadArray();
71
}
72
73
~LinuxThreadList() {
74
free(_thread_array);
Callers
nothing calls this directly
Calls
1
malloc
Function · 0.85
Tested by
no test coverage detected