#10470: Core handlers are not threadsafe -------------------------------------+-------------------------------------- Reporter: tdterry | Owner: tdterry Status: assigned | Milestone: Component: Core framework | Version: 1.0 Resolution: | Keywords: wsgi, basehandler, mod_python, threadsafe, threading Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -------------------------------------+-------------------------------------- Comment (by mrts):
Replying to [comment:7 shai]: > However, your threading analysis is wrong: In your line 5, T2 doesn't wait for the initLock. This is because without the (original) patch, self._request_middleware is not None (django/core/handlers/wsgi.py line 226). Indeed, my mistake, should have been more careful. -- Ticket URL: <http://code.djangoproject.com/ticket/10470#comment:16> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---