delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Date: | Thu, 24 Jan 2002 12:16:39 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Christophe BARIBAUD <cbaribau AT jnjfr DOT jnj DOT com> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: multi-threading |
In-Reply-To: | <a2oess$qal$1@suaar1ac.prod.compuserve.com> |
Message-ID: | <Pine.SUN.3.91.1020124121510.17853A-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Thu, 24 Jan 2002, Christophe BARIBAUD wrote: > I am currently trying to build a minimalistic multi-threaded kernel with > djgpp. > When I change stack selector (ss) my programs hangs when calling __dpmi_int > It **seems** that DJGPP assumes SS=DS in order to function correctly. > > Can anybody confirm this ? Yes, the code produced by GCC assumes DS=SS=ES. If you change the SS to implement the multithreading, you will either have to find another way, or do that in assembly.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |