Sets a function to be called when the child indicated by @pid exits, at a default priority, #G_PRIORITY_DEFAULT.
Sets a function to be called when the child indicated by @pid exits, at the priority @priority.
Creates a new child_watch source.
See Implementation