[comp.sys.encore] private task memory

martin@iris.ucdavis.edu (Bruce K. Martin Jr.) (10/23/87)

We are trying to use the lightweight tasking library under Umax 4.2.
The documentation says that it is possible to create a chunk of
private memory for each task (this memory is managed by the task).
This is unlike the Static memory which is shared.

The man page for "multitask" says to use a pointer called task_private
that will somehow provide "a mechanism to create task private static date."
However, the only hooks in the include file (parallel.h) is the line
#define task_private (task_data_ptr->private).

Nowhere is this struct declared.  And nowhere is its use (how do you 
"create" the private data area) detailed.

Can anyone shed any light on the use of the this task private memory?
(examples especially appreciated :-)


				...bruce

Bruce K. Martin, UC Davis, Div. of Computer Science
martin@iris.ucdavis.edu  --or--  {ucbvax | lll-crg}!ucdavis!iris!martin

micky@tut.cis.ohio-state.edu (Mayank Choudhary) (10/24/87)

Summary:


Hi!

I too would like to know about "private task memory". I did try a few
things in the past, like making part of the shared region private to a 
task, to noavail. If someone could kindly post examples and/or refrences
on the net, would appreciate it.

Also is it possible to interface with the task schedular. I would like to
build my own priority aribitrar on top of the schedular.

Cheers
micky