Date: Mon, 31 Jan 2000 09:15:00 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Stromberg cc: djgpp AT delorie DOT com Subject: Re: posix threads with djgpp In-Reply-To: <8719mn$mu5$2@antares.lu.erisoft.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 30 Jan 2000, Martin Stromberg wrote: > But I wondered what would happen if the processor was in some DOZE > call, an interrupt comes along (I'm assuming that DOZE can be > interrupted) which some code (not necessarily DJGPP code) handles by > invalidating the CS selector and then returns to the DOZE call. What > would happen now (in the DOZE call)? If you mean the DJGPP CS selector, then invalidating it will not do any harm to the DOS call itself, since it doesn't use our selectors. But the moment the DOS call does an IRET, the DJGPP application will crash.