Message-ID: <32799362.6EDA@gbrmpa.gov.au> Date: Fri, 01 Nov 1996 14:06:27 +0800 From: Leath Muller Reply-To: leathm AT gbrmpa DOT gov DOT au Organization: Great Barrier Reef Marine Park Authority MIME-Version: 1.0 To: PsySal CC: djgpp AT delorie DOT com Subject: Re: Code swapping / True Multithreading? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit PsySal wrote: > > I will probably never do this, but I'm wondering about protected > code-swapping / true multithreading et al. It's been awhile, but I > remember reading in "Advanced 80386 Programming Techniques" about how to > properly multithread. Now, what I am wondering is this: Is there any EASY > way to do this in DJGPP? I thought of having a list of objects, each > perfectly encapsulated in a little 80386 pill, and pulling a timer > interrupt to swap between them. This has a lot of applications for games, > although as I see it it's probably near impossible for someone like me > (almost no pmode experience at all) but if there were an EASY way... > > Thanks, Get the LWP package... :) As I just found out, it has 50Hz interrupts on IRQ8, and _programmable_ on IRQ0! KEWL I say! Hurray for Josh! Anyway, I played with this package a few months ago, and it's VERY easy to use, and is completely in C...you don't get an easier than that! Leathal.