cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@dslextreme.com>
Subject GroupBasedProfileManager
Date Thu, 05 Jan 2006 08:18:36 GMT
After looking at the AuthenticationProfileManager code I decided to 
review the GroupBasedProfileManager. While I'm happy to see the 
read/write lock stuff gone it seems that getGlobalBaseDatas and 
getGlobalDatas could have a race condition if two threads run at the 
same time.  Both threads could very well create the CopletBaseData or 
worse getGlobalBaseDatas might clear copletDatas.object right after the 
other thread has set it in getGlobalDatas.

Mime
View raw message