in reply to Forking Queue Problem

IIRC, wait waits for the child to return (i.e., does a blocking wait). waitpid does non-blocking wait.