charmplusplus / charm4py

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

Renamed @threaded to @coro #148

Closed juanjgalvez closed 5 years ago

juanjgalvez commented 5 years ago

Threaded entry methods are essentially coroutines. And the term coroutine is now extended across multiple programming languages to signify subroutines that cooperatively multitask (non-preemptive multitasking) and which are usually implemented using lightweight mechanisms that do not require the usual thread overhead and synchronization (like locks). All of this applies to Charm4py threaded entry methods, thus the name change.