charmplusplus / charm4py

Parallel Programming with Python and Charm++
https://charm4py.readthedocs.io
Apache License 2.0
290 stars 21 forks source link

Add awaitable keyword to proxy entry method calls; new ret behavior #160

Closed juanjgalvez closed 5 years ago

juanjgalvez commented 5 years ago

When calling an entry method via a proxy, ret=True means that I want a return value, regardless of whether it is point-to-point call or broadcast.

Use awaitable=True if you just want to wait for completion.

Both awaitable=True and ret=True return a future.