Path: utzoo!attcan!uunet!steinmetz!davidsen From: davidsen@steinmetz.ge.com (William E. Davidsen Jr) Newsgroups: comp.unix.wizards Subject: Task sync Message-ID: <11658@steinmetz.ge.com> Date: 26 Jul 88 14:57:44 GMT Reply-To: davidsen@crdos1.UUCP (bill davidsen) Distribution: na Organization: GE Corp. R & D, Schenectady,NY Lines: 16 I have a problem which requires running a number of similar programs, then a final program. It's not a make, but the solution might be applied there, too. I want to start up to N tasks, and when I try to start the N+1th task I want to hang until at least one is done. I want to do this in a portable way which will run of reasonable BSD and USG systems. I have a hack which more of less works under SysV using semiphores and stuff, but it's not portable, and a real kludge. If someone can give me a clue on a better way I'd be grateful. -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs | seismo}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me