Changes between Initial Version and Version 1 of Ticket #18251, comment 10
- Timestamp:
- May 4, 2012, 4:03:13 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18251, comment 10
initial v1 1 Attached is a test case showing the problem. It deadlocks reliably on my machine if the writelock is used in app loading, but succeeds if it is changed to imp.acquire_lock() / imp.release_lock(). 1 Attached is a test project showing the problem. It deadlocks reliably on my machine if the writelock is used in app loading, but succeeds if it is changed to imp.acquire_lock() / imp.release_lock(). 2 3 Unpack the project, run DJANGO_SETTINGS_MODULE=threading_lock.settings python locker.py