Академический Документы
Профессиональный Документы
Культура Документы
Strong Reference A ref counted reference to an object (the source ref counts
up the destination).
(same as here)
sender side, and resized on demand.
Receiving
Channel 0
Receiving is synchronous. An associated channel is chosen
randomly and dequeued. If no data is available, the receiving
task blocks and yields. If blocked, the task is awoken by a Port Channel 1
sending task, in this case sending happens through a
rendezvous ptr.
Channel 2
Remote Channel
Task A Task A
Domain X Domain Y
Receiver
Proxy objects are used to mitigate access to objects owned by other thread or process
domains. The receiver task maintains a proxy for the source task, and uses it whenever it
needs to communicate back to the source task.
For safety, messages can only ever be sent via proxy objects.
Join (Intra-Domain)
Inter-Domain
block on B
send join_msg
blocked on B
upcall_exit()
send Wakeup
Task A Task B