delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/31/23:21:36

Message-ID: <32799362.6EDA@gbrmpa.gov.au>
Date: Fri, 01 Nov 1996 14:06:27 +0800
From: Leath Muller <leathm AT gbrmpa DOT gov DOT au>
Reply-To: leathm AT gbrmpa DOT gov DOT au
Organization: Great Barrier Reef Marine Park Authority
MIME-Version: 1.0
To: PsySal <french AT freenet DOT calgary DOT ab DOT ca>
CC: djgpp AT delorie DOT com
Subject: Re: Code swapping / True Multithreading?
References: <Pine DOT A32 DOT 3 DOT 93 DOT 961031152009 DOT 55016C-100000 AT srv1 DOT freenet DOT calgary DOT ab DOT ca>

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019