Aucbvax.2754
fa.unix-wizards
utzoo!decvax!ucbvax!unix-wizards
Wed Aug 19 13:20:23 1981
proposed lock driver
>From mo@LBL-UNIX Wed Aug 19 12:39:01 1981
The lock driver proposed in the code fragment  may have problems with
the Unix "feature" of not calling close until possibly after you close it.
Other schemes like this have added a "lock-breaking" call in the kernel
exit() code to insure locks get broken.  This means also having to keep
track of the lock owner if more than one lock is held.  Does the
proffered code have this problem?
       -Mike


-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
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.