Date: Wed, 6 Jan 1999 11:33:14 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Brian Bacon cc: djgpp AT delorie DOT com Subject: Re: multi-threading In-Reply-To: <010d01be38d8$593b4320$ee023ace@alpha> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Tue, 5 Jan 1999, Brian Bacon wrote: > Has anyone gotten any multi-threading library to work with v2.02? I have > been trying to get LWP to work for a couple days now, and it still doesn't. > First, when using pre-emptive multithreading, the scheduler seems to never > get run. It is called by calling __djgpp_hw_exception, which is called in > the int8 hardware handler, and installing the scheduler as the SIGILL > handler. If nobody else gives you specific advice how to fix this, I suggest to post here some more detail about how the scheduler is implemented. (Specifically, how does the int8 handler generate SIGILL?) It might be that some of the functions involved in this was changed. Or it might be a bug in v2.02. In any case, I would suggest to check the ``What's changed'' entries for every function used by LWP for its internal operation (type "info know what" from the DOS prompt, then press `2' and read there).