Home
last modified time | relevance | path

Searched refs:tdcnt (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DProcessMonitor.cpp1008 int tdcnt; in GetCurrentThreadIDs() local
1012 tdcnt = PTRACE(PT_GETNUMLWPS, m_pid, NULL, 0); in GetCurrentThreadIDs()
1013 if (tdcnt <= 0) in GetCurrentThreadIDs()
1015 tids = (lwpid_t *)malloc(tdcnt * sizeof(*tids)); in GetCurrentThreadIDs()
1018 if (PTRACE(PT_GETLWPLIST, m_pid, (void *)tids, tdcnt) < 0) { in GetCurrentThreadIDs()
1022 thread_ids = std::vector<lldb::tid_t>(tids, tids + tdcnt); in GetCurrentThreadIDs()