Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site timeinc.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!decvax!harpo!whuxlm!whuxl!houxm!vax135!timeinc!greenber From: greenber@timeinc.UUCP (Ross M. Greenberg) Newsgroups: net.micro.pc Subject: Backround Processes under MSDOS?? Message-ID: <182@timeinc.UUCP> Date: Tue, 14-May-85 09:09:05 EDT Article-I.D.: timeinc.182 Posted: Tue May 14 09:09:05 1985 Date-Received: Thu, 16-May-85 21:16:33 EDT Distribution: net Organization: Time, Inc. - New York Lines: 34 I'm in the process of writing up a backround processor of sorts under MSDOS. So I have already discovered the hard way that DOS is non-re-entrant :-) So I have taken over the DOS vector(s) and have the capability now of determining if I am already in a DOS call. The question that arises is: If I determine that I am in a dos call, how can I "suspend" the "process" without executing an IRET. Now the best method is probably to actually execute the IRET, and then call the timer every 1/18.2 seconds to determie if the guy that I'm executing can now call DOS. I'd rather have a nice easy method (as the result of this program will go public domain if it works). Any ideas, suggestions, wishes?? I'll post the reults, etc. Thanks!! -- ------------------------------------------------------------------ Ross M. Greenberg @ Time Inc, New York --------->{ihnp4 | vax135}!timeinc!greenber<--------- Timeinc probably wouldn't acknowledge my existence, and has opinions of its own. I highly doubt that they would make me their spokesperson. ------ "If ever the pleasure of one has to be bought by the pain of the other, there better be no trade. A trade by which one gains and the other loses is a fraud." --- Dagny Taggart