Sender: "Rolf Campbell" Message-ID: <38A32674.A12A521E@americasm01.nt.com> Date: Thu, 10 Feb 2000 15:58:28 -0500 From: "Rolf Campbell" Organization: Nortel Networks X-Mailer: Mozilla 4.71 [en] (X11; I; HP-UX B.10.20 9000/785) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Subject: Re: How Do I start another DOS program from DJGPP ? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > int_handler > > { > > read_last_string_from_file("tempfile.txt"); > > process_that_string_quickly_since_we_are_in_an_interrupt; > > } > > That won't work (or, rather, will crash your system): you cannot safely > make DOS calls from a hardware interrupt handler, and reading from a file > requires a DOS call. But isn't the DJGPP timer interrupt really delayed until data is acessed, and then called from the page-fault handler? Does a page-fault handler have that limitation? (no interrupt calls) -- (\/) Rolf Campbell (\/)