On Apr 30, 2:52 pm, Christopher Arndt <[email protected]> wrote: > Ben Sizer schrieb: > > The reason I ask is because I have an application where each HTTP > > > request may result in executing a fairly expensive piece of code, > > perhaps taking up to a second to finish, to generate a JSON response. > > It seems that your question is not about thread-safety but whether TG > (or it's web server) is multi-threaded at all. The answer is yes.
Sort of. My question was really about /how/ it was multi-threaded, and the implications of calling it "thread-safe". It would be easy to make a web server use many threads and yet keep it completely thread-safe, with the use of one global lock. But that wouldn't be very useful. :) -- Ben Sizer -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

