Navigation

asyncoro is a Python framework for asynchronous, concurrent, distributed programming using
generator functions, asynchronous completions and message
passing. asyncoro API can be used to create coroutines with generator
functions, similar to the way threads are created with functions with
Python’s threading module. Thus, programs
developed with asyncoro have same logic and structure as programs
with threads, except for a few syntactic changes - mostly using
yield with asynchronous completions that give control to asyncoro’s
scheduler, which interleaves executions of generators, similar to the
way an operating system executes multiple processes.

Unlike threads, creating processes (coroutines) with asyncoro is very
efficient. Moreover, with asyncoro context switch occurs only when
coroutines use yield (typically with an asychronous call), so there
is no need for locking and there is no overhead of unnecessary context
switches.

asyncoro features include:

No callbacks or event loops! No need to lock critical sections either,