From: "Michael D. McDonnell" Newsgroups: comp.os.msdos.djgpp Subject: Stack Switching in Isr's Date: Mon, 17 Mar 1997 14:31:39 -0800 Organization: Tics Realtime Lines: 9 Message-ID: <332DC64B.7232@concentric.net> NNTP-Posting-Host: cnc50236.concentric.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In a real-time multi-threaded system it is sometimes desirable to to switch stacks from within an isr so that the the "iret" instruction will return to a higher priority thread. This is a simple matter under DOS, but DPMI seems to pose various obstacles. Is there a clean solution? Sincerely, Michael McDonnell