[Home]PortsAndConnections

FlowBasedProgramming | RecentChanges | Preferences

A, B and C are processes (threads) executing code components. These components are also often referred to as "coroutines". O1, O2, and the two INs are ports connecting the connections M and N to their respective processes. It is permitted for processes B and C to be executing the same code, so each process must have its own set of working storage, control blocks, etc. Whether or not they do share code, B and C are free to use the same port names, as port names only have meaning within the components referencing them (and at the network level, of course).

M and N are bounded buffers with a fixed capacity in terms of the number of InformationPackets (IPs) that they can hold at any point in time. IP size is totally variable from 0 bytes on up. Restricting a connection to a maximum number of IPs means that a process may get suspended while sending, as well as while receiving. This is what allows an application to process a very large number of IPs using a finite (and controllable) amount of storage. It has also been shown that this prevents a problem known as "livelock", and guarantees that all data will be processed. It should be stressed that the bounded buffer connections connecting processor ports are the only way these processors are allowed to communicate with each other.


FlowBasedProgramming | RecentChanges | Preferences
This page is read-only - contact owner for a password | View other revisions
Last edited February 24, 2005 7:57 pm by PaulMorrison (diff)
Search: