This script is for Slackware 14.1 and may be outdated.

SlackBuilds Repository

With Tornado’s gen module, you can turn Python generators into full-featuredcoroutines, but coordination among these coroutines is difficult withoutmutexes, semaphores, and queues.

Toro provides to Tornado coroutines a set of locking primitives and queuesanalogous to those that Gevent provides to Greenlets, or that the standardlibrary provides to threads.

(Note that these primitives and queues are not actually thread-safe andcannot be used in place of those from the standard library–they are meant tocoordinate Tornado coroutines in single-threaded apps, not to protect sharedobjects in multithreaded apps.)