MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / fillThreadArray

Method fillThreadArray

src/os_linux.cpp:53–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 void fillThreadArray() {
54 if (_dir != NULL) {
55 rewinddir(_dir);
56 struct dirent* entry;
57 while ((entry = readdir(_dir)) != NULL) {
58 if (entry->d_name[0] != '.') {
59 addThread(atoi(entry->d_name));
60 }
61 }
62 }
63 }
64
65 public:
66 LinuxThreadList() : ThreadList() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected