_RunProcessThreadExit
if (on_exit_thread(&_RunProcessThreadExit, this) != B_OK) {
static void _RunProcessThreadExit(void* cookie);