Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site uvicctr.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!ssc-vax!uvicctr!collinge From: collinge@uvicctr.UUCP (Doug Collinge) Newsgroups: net.lang.forth Subject: Re: Multi-user and files Message-ID: <124@uvicctr.UUCP> Date: Wed, 15-May-85 14:19:22 EDT Article-I.D.: uvicctr.124 Posted: Wed May 15 14:19:22 1985 Date-Received: Fri, 17-May-85 05:03:45 EDT References: <161@vger.UUCP> <614@cadovax.UUCP> Organization: University of Victoria, Victoria B.C. Canada Lines: 23 How about this: You have N buffers. You have tasks A and B, among others. When you switch from task A to task B you save the buffer mapping table along with the other stuff. Then when you switch back to A you check to make sure that the buffers have the same blocks in them. If they don't you write out the changed ones and read back in the ones that A is expecting. This is horrible if both A and B are making heavy use of the buffers but if A is using them heavily and B not very much then it isn't too bad. And it is compatible. Anyone see problems? -- Doug Collinge School of Music, University of Victoria, PO Box 1700, Victoria, B.C., Canada, V8W 2Y2 decvax!nrl-css!uvicctr!collinge decvax!uw-beaver!uvicctr!collinge ubc-vision!uvicctr!collinge