]> git.ipfire.org Git - thirdparty/tornado.git/commit
Thread safety for shared data structures (templates and static file hashes)
authorBen Darnell <ben@bendarnell.com>
Mon, 14 Nov 2011 04:15:44 +0000 (20:15 -0800)
committerBen Darnell <ben@bendarnell.com>
Mon, 14 Nov 2011 04:15:44 +0000 (20:15 -0800)
commit0b8adeb324a1044cfeac23dd5d987c32997d0e7f
tree63cd88fdb940da26acf40b4967b7d88c50828a83
parent89f35bc1cb4a2be177721d1ec6011137219e5159
Thread safety for shared data structures (templates and static file hashes)

These data structures were basically safe before thanks to the GIL, but could
lead to wasted work in multithreaded environments (such as the new python2.7
app engine)

Also fixed a bug that made debug mode not invalidate static files.
tornado/template.py
tornado/web.py