Changes between Version 47 and Version 48 of DjangoSpecifications/Core/Threading
- Timestamp:
- Apr 26, 2008, 4:10:33 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DjangoSpecifications/Core/Threading
v47 v48 14 14 == Introduction == 15 15 16 The main pattern of global variable usage in Django is ''use `var` if initialized, otherwise initialize''. This is generally not thread-safe.16 The main pattern of global variable usage in Django is ''use (read) `var` if initialized, otherwise initialize (write)''. This is generally not thread-safe. 17 17 18 18 "Not thread-safe" has two broad subcategories in this case: