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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.