Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: Re: Re: Kernel mods and RTIngres Message-ID: <10951@brl-tgr.ARPA> Date: Thu, 23-May-85 08:55:07 EDT Article-I.D.: brl-tgr.10951 Posted: Thu May 23 08:55:07 1985 Date-Received: Fri, 24-May-85 08:30:13 EDT References: <410@wdl1.UUCP> <235@ucbcad.UUCP> <10712@brl-tgr.ARPA> <253@ucbcad.UUCP> Organization: Ballistic Research Lab Lines: 32 > > For example, one can write per-system-type user-mode "lock" > > interface modules that work acceptably well. > > Really, how does one write such wonderful beasties? Indeed, what > do you mean? You have lots of buzz words, but you didn't say anything. This is such a standard technique for portable packages that I didn't think anyone would fail to understand (but then obviously RTI doesn't or we wouldn't be having this conversation). To make it clearer, consider that the application code is written once, in a system- independent manner, and that all access to any host features that are not fully standardized (e.g. beyond stdio, strcpy, etc.) is done by means of a separate support library. The interface to the routines in the support library is carefully designed to be achievable on a wide variety of systems. For each target system, there is an implementation of the support library whose internal details are system-specific, but whose interface used by the application is invariant across all systems. Now, I'm not going to design a portable interface to file/record locking facilities for you; that's the job of the software engineering (what's that?) department. Get to work! > > Not only that, but when RTI made our Ingres users install their > > lock driver, it turned out that their software still didn't > > support concurrent database updates! What was the point of the > > lock driver?? > > The point of the lock driver is to keep two people from updating > the same relation at the same time. ... Good grief, I just explained that RTI Ingres FAILED to do this right in spite of their "lock driver".