#14533 closed (fixed)
django signals not thread-safe
Reported by: | milosu | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
django dispatcher.Signal methods connect and disconnect are not thread-safe, observed while using johnny cache
patch and test case attached
Attachments (2)
Change History (9)
by , 14 years ago
Attachment: | signals_ts.patch added |
---|
by , 14 years ago
Attachment: | signal_ts.py added |
---|
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Has patch: | set |
---|
comment:6 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
attached test case should crash some threads with the following exception:
attached patch solves this problem for me and passes django test suite