share wait4 definition