david@CS.UCLA.EDU (David Dantowitz) (04/21/91)
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...