resgroup: provide an API to get resgroup id of my proc
Resource group id of my proc is stored in a local variable accessible only in resgroup.c, but this information can also be interested in other contexts, so an API `GetMyResGroupId()` is provided to get this information. Reviewed-by: NHeikki Linnakangas <hlinnakangas@pivotal.io> Reviewed-by: NHao Wang <haowang@pivotal.io>
Showing
想要评论请 注册 或 登录