Aucbvax.2742 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Tue Aug 18 14:16:42 1981 Re: using signal(2) with locks >From Dave-Yost@RAND-UNIX Tue Aug 18 14:09:23 1981 Here's the race condition. Consider processes A & B: A: determine that lock file is dead B: determine that lock file is dead A: unlink lock file A: link to lock file B: unlink lock file B: link to lock file Now each of them thinks he has a valid lock. --dave ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.