🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.transputer
1 messages
1 total messages Started by Philipp Lanches Wed, 22 May 1991 17:21
Process identification with Wptr
#1696
Author: Philipp Lanches
Date: Wed, 22 May 1991 17:21
29 lines
1957 bytes
In order to observe the activity of low priority processes, I want to look at 
the list of active processes in the corresponding queue. The problem I have is:

	As a process does not have a unique workspace pointer (Wptr) -- it can
	be modified by ajw, gajw and call instructions --, how can I associate 
	at run-time the Wptrs from the queue to one of the active processes ?

Since I am using C (on a Meiko in-sun computing surface with CSTOOLS), I think 
I cannot assume a static and ordered workspace allocation like in OCCAM. It 
might be possible to find a very compiler-specific solution to this problem,
but I would prefer a more general mechanism suitable for C-programs (at least
for the INMOS ANSI C-compiler). It would be acceptable to use a little bit
assembler code.

If anybody has an idea or a solution please contact me by e-mail. If this point 
seems interresting, I will post a summary of the responses to the net.

Thank you.

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Philipp Lanches				IPVR/ISE, Universitaet Stuttgart
e-mail:					Breitwiesenstr. 20-22
  lanches@informatik.uni-stuttgart.de	W-7000 Stuttgart 80  (F.R.G)
 
-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Philipp Lanches				IPVR/ISE, Universitaet Stuttgart
e-mail:					Breitwiesenstr. 20-22
  lanches@informatik.uni-stuttgart.de	W-7000 Stuttgart 80  (F.R.G)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads