It makes sense to use pid_t when getting the PID since that will work on all platforms and architectures. !1180