Menu

#2 Cache not thread-safe

open
nobody
None
5
2010-09-15
2010-09-15
John Nagle
No

The Factory for client objects has a static cache, but it is not protected by a lock. This is a race condition in threaded programs. See "sudsobject.py", line 92, class "Factory", function "subclass".

Discussion


Log in to post a comment.