Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
HDProcessMonitor.cpp1011 int tdcnt; in GetCurrentThreadIDs() local
1015 tdcnt = PTRACE(PT_GETNUMLWPS, m_pid, NULL, 0); in GetCurrentThreadIDs()
1016 if (tdcnt <= 0) in GetCurrentThreadIDs()
1018 tids = (lwpid_t *)malloc(tdcnt * sizeof(*tids)); in GetCurrentThreadIDs()
1021 if (PTRACE(PT_GETLWPLIST, m_pid, (void *)tids, tdcnt) < 0) { in GetCurrentThreadIDs()
1025 thread_ids = std::vector<lldb::tid_t>(tids, tids + tdcnt); in GetCurrentThreadIDs()