delorie.com/archives/browse.cgi | search |
From: | Ludvig Larsson <ludvig AT club-internet DOT fr> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Multi tasking? More |
Date: | Thu, 22 Apr 1999 00:08:35 +0200 |
Organization: | HellBlower |
Lines: | 27 |
Message-ID: | <371E4C63.519A@club-internet.fr> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 990420122556 DOT 841T-100000 AT is> <7fi9tj$nef$1 AT camel29 DOT mindspring DOT com> <371E3CB8 DOT 9BEF72C AT cartsys DOT com> |
NNTP-Posting-Host: | toulouse-5-190.club-internet.fr |
Mime-Version: | 1.0 |
X-Trace: | front3.grolier.fr 924732226 23368 194.158.125.190 (21 Apr 1999 22:03:46 GMT) |
NNTP-Posting-Date: | 21 Apr 1999 22:03:46 GMT |
X-Mailer: | Mozilla 3.01Gold [fr]C-CLUB (Win95; I) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi! I asked a similar Q a couple of weeks ago, but I got some problems with my internetconnection, and when I came back, there were only one answer left, with not so mych info in it. I asked how to do a sort of multithreading (inside one program) without discoperations, could be done with an interrupt that switches (and saves) current program pointers, no? Like, an interrupt that points to a "scheduler" that every time hooked up, saves the old program pointer and loads the next one... I guess that discoperations would blow things, and keyboard funcs too, but maybe special open,close,readkey functions could lock the multithreading(as in W95?)? Can this be easily done? And does someone have a small codesnippet that could help me? Very pleased to get some help:) Ludvig Larsson
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |