www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/31/07:26:20

From: snarfy AT goodnet DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Preemptive Multitasking under DPMI
Date: 31 Oct 1996 05:48:17 GMT
Organization: GoodNet
Lines: 19
Message-ID: <559ej1$bg6m@news.goodnet.com>
NNTP-Posting-Host: goodnet.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>Onto a different topic:
>
>As for DOS multi-tasking, the implementation I will take is to use the
>uclock timer, select a time slice size - say, 10ms, and run my
>subroutines
>from my uclock timer interrupt (well, thats the plan anyway... :) that
>way my uclock interrupt will decide what gets to run when, and will as a
>result be fully pre-emptive. I was also looking at having an interrupt
>run at say 44100 times a second, and use my own sound mixing code. This
>interrupt would pre-empt my uclock interrupt, having absolute priority.
>Isnt this pre-emptive multi-tasking? (although its for a dedicated
>application and I have no idea how I am going to do it yet... :)
>
>Leathal.
Check out the lwp package at http://www.goodnet.com/~snarfy/threads.html
and save yourself some headaches. :)

Josh
snarfy AT goodnet DOT com

- Raw text -


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