[Web-SIG] WSGI thread affinity/interleaving

2005-12-17 Thread James Y Knight
So this came up when I was writing the twisted WSGI support, but at that point I just took the most conservative view and forgot to revisit the issue. 1) Take the following application: def simple_wsgi_app(environ, start_response): start_response("200 OK") yield str(thread.get_ident(

Re: [Web-SIG] WSGI thread affinity/interleaving

2005-12-17 Thread Phillip J. Eby
At 04:50 PM 12/17/2005 -0500, James Y Knight wrote: >So this came up when I was writing the twisted WSGI support, but at >that point I just took the most conservative view and forgot to >revisit the issue. > >1) >Take the following application: >def simple_wsgi_app(environ, start_response): >