![](https://secure.gravatar.com/avatar/f65e2637f7c71a2fe9d6cb68ec1515d1.jpg?s=120&d=mm&r=g)
24 Feb
2004
24 Feb
'04
8:19 p.m.
I am almost done with my web app. Now just before finalizing the project I noticed that when I request two pages at the same time (e.g. double clicking on a link) my app including twisted just exits. I am almost certain that this behavior has something to do with the fact that I put every request in a seperate thread. My render methode looks pretty much like this: def render(self, request): threads.deferToThread(handleRequest, request).addCallback(\ writeRequestAndFinish, request).addErrback(\ request.processingFailed) return server.NOT_DONE_YET Any idea why this does not work? Do you think there is a problem with accessing the request variable from a different thread? _stephan