Commits


look for WAIT_ANY too; define it to -1 if absent