[comp.sys.ibm.pc.programmer] Round robin, multitasking help needed

whbst@unix.cis.pitt.edu (William H Broadley) (10/01/90)

	I am in the process of writing a program that needs to approximate
multitasking.  I want to have 4 user writeable routines in C lets say.
	I want to call the 1st one and give it a stack and let it run until
it calls a service routine.  At which time I want to perform the service and
transfer control to the second routing with own stack, mem, etc.
	I am familiar with setting up stacks etc.  So I basically need to
set up a friendly round robin system.  The user routines have to be "friendly"
and they don't need any input/output etc.  Any libraries, source, examples,
magazine articles out there?
	I plan to write the routine(s) needed in assembly.
			Any help appreciated.
			whbst@unix.cis.pitt.edu