Go up to 3.3 Shared Data Go forward to dist[put] : Write Data into a Shared Object |
dist[data]
: Create a Shared Objectd := dist[data]()
This call creates a shared object d that may be used to communicate data between different tasks. The object is initially empty; any attempt to get a value from d blocks the corresponding task.
> d := dist[data](); d := 0