Project

General

Profile

Actions

Feature #14139

closed

Want libproc convenience function for lwpsinfo

Added by Robert Mustacchi 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Today libproc has the proc_get_psinfo convenience function. It'd be nice to add something here for the lwpsinfo file. This adds a proc_get_lwpsinfo. One note here is that we purposefully use an unsigned int for the thread id rather than a pthread_t, thread_t, thr_t, or other ids. We use the underlying type here so we can avoid the need to include any specific thread header in libproc.h which saves a lot of trouble, since someone can be using any of them.

Actions

Also available in: Atom PDF