Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!vaxine!wjh12!genrad!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!hplabs!sri-unix!gwyn@BRL-VLD.ARPA From: gwyn@BRL-VLD.ARPA Newsgroups: net.lang.c Subject: Re: shared data sets on UNIX in C Message-ID: <932@sri-arpa.UUCP> Date: Sat, 16-Jun-84 20:01:52 EDT Article-I.D.: sri-arpa.932 Posted: Sat Jun 16 20:01:52 1984 Date-Received: Wed, 20-Jun-84 00:37:42 EDT Lines: 11 From: Doug Gwyn (VLD/VMB)Your shared data set problem can be solved by a facility known as "record locking". This is not in any standard UNIX kernel, but code to implement it has been published (most recently in the reviewer's guide for the /usr/group system interface standard). In the absence of such a facility, consider "file locking", which can be accomplished on any UNIX system (if there is not a built-in facility for this, it can be kludged up using links). The last resort is to make a separate data set manager process and route all data set access through this manager (this works acceptably if you have FIFOs or perhaps sockets).