m
, it executes that message's run()
method. Messages between pairs of PEs are received and executed in FIFO order: if PE0
sends m0
and then m1
to PE1
, then PE1
runs m0.run()
to completion befor starting m1.run()
. A message's run()
method should therefore not block for non-trivial durations. If you need to block, use aleph.AsynchMessage
. Messages from different PEs are not synchronized: if PE0
sends m0
and PE1
sends m1
to PE2
, then m0.run()
and m1.run()
may be run concurrently.
@see aleph.AsynchMessage
@author Maurice Herlihy
@date July 1998
|
|
|
|
|
|
|
|
|
|