Mail Archives: djgpp/1996/10/31/23:21:36
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 -