Date: Sun, 30 Jan 2000 10:41:43 +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: <86n766$aj$1@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 26 Jan 2000, Martin Stromberg wrote: > What would happen in the DOZE calls if the signal > machinery invalidated CS instead of DS? An instant crash ;-). You cannot invalidate CS because then the code of the interrupt/exception handler cannot run. CS is the only segment register which is guaranteed to be loaded with a correct selector when the handler is called, precisely for this reason.