Article View: comp.sys.transputer
Article #829(none)
From: Zhiquan Li
Date: Sun, 29 Jul 1990 13:31
Date: Sun, 29 Jul 1990 13:31
28 lines
1410 bytes
1410 bytes
Recently, I am considering of merging two parallel events into one.
The problem is following.
There are two parallel events inputed into process P.
P simplily pass the events it gets to channel t.
You can use ALT structure to do this. But the problem is when channel t and s
receive the events simultaneouly, P definely will lose one of them. I think of
using shared variable at low level. But it will destroy the elegence of OCCAM.
Is there any way to do this in OCCAM? As this is very comman, OCCAM should
consider this. In my problem, one of r,s is a hardlink.
_________
r ----> | |
| P |----> t
s ----> | |
---------
Any ideas and suggestions are welcomed. Thanks in advance.
Quan
----------------------------
Zhiquan Li
School of Computing Science
Curtin University of Technology
G.P.O. U1987, W.A. 6001
Australia
ACSnet: liz@cutmcvax.oz
Tel: (09)351 7666
------------------------------
Technical Details
Message-ID:
<9007290559.12829@munnari.oz.au>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!ucbvax!cutmcvax.oz.au!lizShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!ucbvax!cutmcvax.oz.au!liz From: liz@cutmcvax.oz.au (Zhiquan Li) Newsgroups: comp.sys.transputer Subject: (none) Message-ID: <9007290559.12829@munnari.oz.au> Date: 29 Jul 90 13:31:12 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 28