aboutsummaryrefslogtreecommitdiff
path: root/libraries/toro/README
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-01-24 16:18:52 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:12 -0600
commit829ba2d88fb64fa72aee750b8d28590633f95ad7 (patch)
treed7f0f11a254a03e90c69360cc702eb24f10d60c2 /libraries/toro/README
parent8c558a59b517e4700d9f60f267a02a19f8745e63 (diff)
downloadslackbuilds-829ba2d88fb64fa72aee750b8d28590633f95ad7.tar.xz
libraries/toro: Added (Synchronization primitives).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/toro/README')
-rw-r--r--libraries/toro/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/toro/README b/libraries/toro/README
new file mode 100644
index 000000000000..30171098ec6b
--- /dev/null
+++ b/libraries/toro/README
@@ -0,0 +1,12 @@
+With Tornado’s 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 library–they are meant to
+coordinate Tornado coroutines in single-threaded apps, not to protect shared
+objects in multithreaded apps.)