🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1047

Round robin, multitasking help needed

#1047
From: William H Broadley
Date: Sun, 30 Sep 1990 18:54
13 lines
1274 bytes
	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 
Technical Details
Message-ID: <43424@unix.cis.pitt.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!whbst

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!whbst
From: whbst@unix.cis.pitt.edu (William H Broadley)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Round robin, multitasking help needed
Summary: Simple, rotation of "friendly" processes needed
Keywords: multi-tasking, round robin
Message-ID: <43424@unix.cis.pitt.edu>
Date: 30 Sep 90 18:54:23 GMT
Reply-To: whbst@unix.cis.pitt.edu (William H Broadley)
Organization: Univ. of Pittsburgh, Comp & Info Services
Lines: 13