adding support for stack, priority, rtprio, and sigpending