[comp.archives] [os-research] Stack switching

david@CS.UCLA.EDU (David Dantowitz) (04/22/91)

Archive-name: languages/parallel/sr/1991-04-20
Archive-directory: cs.arizona.edu:sr/ [192.12.69.5]
Original-posting-by: david@CS.UCLA.EDU (David Dantowitz)
Original-subject: Stack switching
Reposted-by: emv@msen.com (Edward Vielmetti, MSEN)


I received many responses on my query and decided to use code from SR.

Synchronizing Resources (SR), a distributed programming language from
the University of Arizona contains code to perform context switching
on a number of machines.  I was able to use their context
building/switching code with NO modifications at all (very useful).
SR also supports several IPC mechanisms for those who are interested.


SR is available via anonymous ftp from cs.arizona.edu (in directory
sr).  The files of interest are rts/*.s (.c for sparc).  There is a
routine to build a new context frame and a routine to change the
context.  Examples of how to use these are in rts/process.c.
-- 
David Dantowitz
david@cs.ucla.edu

Singing Barbershop when I'm not computing...

-- comp.archives file verification
cs.arizona.edu
total 5256
-r--r--r--  1 28       37           3163 Jan  2  1990 README
-r--r--r--  1 28       37           5352 Oct 26  1989 errata.sun4
-r--r--r--  1 28       37          68563 Jan  3  1989 info-sr.1988
-r--r--r--  1 28       37          93168 Nov 20  1989 info-sr.1989
-r--r--r--  1 28       46          32016 Nov 21 12:13 info-sr.1990
-r--r--r--  1 28       37        2162688 Jul 27  1989 sr.tar
-r--r--r--  1 28       37         850573 Jul 25  1989 sr.tar.Z
-r--r--r--  1 28       37        1835008 Jul 27  1989 vs.tar
-r--r--r--  1 28       37         290910 Jul 24  1989 vs.tar.Z
found sr ok
cs.arizona.edu:sr/