check for prctl, poll parent PID if not present

this allows forking code to be used on non-linux systems
3 files changed