🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.transputer
1 messages
1 total messages Started by whitcomb%kobot.decnet Mon, 27 Mar 1989 19:34
RE: Dynamically creating arrays of processes.
#2573
Author: whitcomb%kobot.decnet
Date: Mon, 27 Mar 1989 19:34
27 lines
1805 bytes
>From:	KOBOT::WHITCOMB     "whitcomb%kobot.decnet@venus.ycc.yale.edu" 25-MAR-1989 15:49
To:	VENUS::IN%"buengc!dpm@bu-cs.bu.EDU",WHITCOMB    
Subj:	RE: Dynamically creating arrays of processes

Greetings:

  Recall that there is nothing in the occam language definition which 
denies the possibility of dynamic space allocation or recursion.  Likewise 
with the transputer cpu.  The inmos implementation of this language has 
these restrictions; thus it is in *implementation* limitation rather than a 
language limitation.  This is a win for safety (correctness) and speed,
at the cost of functionality.

  Dynamic space allocation may be achieved within the occam model by 
explicitly creating and managing a heap for use by parallel
processes within the scope of its definition.  The use of such a heap will,
unfortunately, often violate the occam access restrictions on arrays and
thus you will have to switch off some of the compiler checks.  

  Dynamic code loading, however, is not part of the occam definition.  It
may be achieved in the inmos implementation of occam by using a predefined 
library procedure "KERNEL.RUN".  This is defined in section 11.3 of the 
Transputer Development System manual (1988, Prentice Hall, ISBN 0-13-928995-X.)

  I hope this helps. The Best,

                     Louis L. Whitcomb
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