MTASK is a unit for Turbo Pascal 5.5, to allow a Turbo Pascal
program to exhibit simple multi-tasking. MTASK gives your
program a non-preemptive, request driven multi-tasking
capability. I will explain what I mean by that later.
The file MTASK20.ZIP contains the following files:
MTASK.DOC Documentation in Multi-Edit format
MTASK.PAS The source code for the MTASK unit
MTASK.PRN Documentation, ready to print
READ.ME Last minute notes (this file)
TEST1.PAS Demonstration program using MTASK
I hope you have as much fun using MTASK as I did writing it!
MTASK 2.0 was written and donated to the public domain by Wayne
E. Conrad (me) in March of 1990. I may be contact via my BBS,
or by mail at my home:
10 E Bell Road #1001
Phoenix, AZ 85022
I am interested in any modifications, bug reports, or comments
If you modify this package, please keep my name and the name of
any other programmers who've worked on it intact. Give credit to
yourself, too! Please distribute the complete package, with
documentation and demonstration programs included.
MTASK allows your Turbo Pascal program to do simple multi-tasking.
I call MTASK's brand of multi-tasking "non-preemptive, request
Preemptive means that the switch from one task to another can
happen at almost any time. Most preemptive systems have an
interrupt driver hooked to a hardware timer, which causes a task
switch every time the hardware timer goes off. The advantage of
this kind of multi-tasking is that your programs don't have to be
written with multi-tasking in mind, and don't even have to know
that its taking place. Also, no program can hog the system for
long, because the interrupt driver switches from one program to
another fairly often. Desqview and Double-DOS, and OS/2 are
operating environments that