Threads information /proc
"aalu paneer" <[email protected]>
| Newsgroups | gmane.os.netbsd.help |
|---|---|
| Message-ID | <[email protected]> |
Hello All, I am trying to port an application from Linux to NetBSD. The application needs to know how many threads any given process has. In Linux, it looks into /proc/<pid>/task for a count and thread id of the various threads. But /proc in NetBSD does not carry this information. Even the number of threads reported in /proc/<pid>/stat is not proper. Any suggestion on how to get the information provided in Linux via /proc/<pid>/task in NetBSD? Regards, Me