🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7432

Implementing lightweight processes for sparc

#7432
From: John Rochester
Date: Wed, 17 Apr 1991 01:00
12 lines
1251 bytes
I am trying to implement very simple lightweight processes for an
application I am writing.  I am having trouble finding the information I
need to do context switching on a sun4.  I assume I need to use the trap
ST_FLUSH_WINDOWS (or maybe ST_CLEAN_WINDOWS?), but all I have is the sun4
assembly language reference, which doesn't explain what anything does!

If somebody could explain what that trap, and the instructions call, jmpl,
save and restore do exactly, I would be very grateful.

John Rochester			{utai,uunet}!garfield!riemann!jr
Dept. of Math & Stats		jr@riemann.math.mun.ca
Memorial University of Newfoundland, St. John's, Newfoundland, Canada
Technical Details
Message-ID: <2470@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: jr@garfield.cs.mun.ca (John Rochester)
Newsgroups: comp.sys.sun
Subject: Implementing lightweight processes for sparc
Keywords: Miscellaneous
Message-ID: <2470@brchh104.bnr.ca>
Date: 17 Apr 91 01:00:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 12
Approved: Sun-Spots@rice.edu
X-Original-Date: Mon, 8 Apr 1991 15:46:37 -0130
X-Sun-Spots-Digest: Volume 10, Issue 81, message 9
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu