slackbuilds_ponce/libraries/toro
Dimitris Zlatanidis 829ba2d88f libraries/toro: Added (Synchronization primitives).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-01-29 23:21:12 -06:00
..
README
slack-desc
toro.info
toro.SlackBuild

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

With Tornados gen module, you can turn Python generators into full-featured
coroutines, but coordination among these coroutines is difficult without
mutexes, semaphores, and queues.

Toro provides to Tornado coroutines a set of locking primitives and queues
analogous to those that Gevent provides to Greenlets, or that the standard
library provides to threads.

(Note that these primitives and queues are not actually thread-safe and
cannot be used in place of those from the standard librarythey are meant to
coordinate Tornado coroutines in single-threaded apps, not to protect shared
objects in multithreaded apps.)