root@nccnat.UUCP (Paul Shields) (04/19/88)
This was requested first by someone else, but to my knowledge, no clear solution has been found: I need routines, Public domain or otherwise, for either Microsoft C 5.0 or Lattice C 3.2 that will swap my program and data out to disk when I call the system() function, so that I will have more memory available for the new program to run. - The amount of memory required by the new program should be specifiable, which means the swapper must check the memory available and only swap if necessary. - It must make sure that memory to which interrupt vectors point is not swapped. (there may be no easy way to do this.) - It must make sure it doesn't swap itself out, since it has to swap back in when the other program finishes. I know it's possible, because SmallTalk/V and Microsoft Windows do it, but I don't want to be bound by a license agreement that must be passed on to my 100 or so users. Thanks in advance, -- Paul Shields, Before going out to save the world, I remembered shields@yunccn.UUCP that the world doesn't want to be saved. or yunccn!nccnat!root. Perhaps it can be convinced?
nts0699@dsacg1.UUCP (Gene McManus) (04/27/88)
From article <283@nccnat.UUCP>, by root@nccnat.UUCP (Paul Shields): > [...] > I need routines, Public domain or otherwise, for either Microsoft C 5.0 > or Lattice C 3.2 that will swap my program and data out to disk when I > call the system() function, [...] I'm also interested in responses to this article, particularly for Microsoft C 5.x. Please post, or put me on the mailing list. Thanx also, Gene -- Gene McManus @ Defense Logistics Agency Systems Automation Center, Columbus, OH 43215 (614) 238-9403, Autovon 850- UUCP: {uunet!gould,cbosgd!osu-cis}!dsacg1!gmcmanus The views expressed are my own, not those of The Agency, or Dept. of Defense
brianc@cognos.uucp (Brian Campbell) (05/02/88)
From article <283@nccnat.UUCP>, by root@nccnat.UUCP (Paul Shields): > I need routines, Public domain or otherwise, for either Microsoft C 5.0 > or Lattice C 3.2 that will swap my program and data out to disk when I > call the system() function I did this recently. It was not all that difficult (although swapping a large program to a run-of-the-mill hard disk can be rather slow). In any case, are you thinking of replacing the system() function, or is the addition of a parallel function [perhaps swaprun()] admissible? -- Brian Campbell uucp: decvax!utzoo!dciem!nrcaer!cognos!brianc Cognos Incorporated mail: POB 9707, 3755 Riverside Drive, Ottawa, K1G 3Z4 (613) 738-1440 fido: (613) 731-2945 300/1200, sysop@1:163/8