Want libproc convenience function for lwpsinfo
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.