Context: Imagine that you have a standard CherryPy hello word app:
def index(self): return \"Hello world!\" index.exposed = True
The "global threading aware queue" is called Queue.Queue. I just added a recipe for this at http://tools.cherrypy.org/wiki/BackgroundTaskQueue