* use a TSimpleRWSync instead of a TMultiReadExclusiveWriteSynchronizer

for the globalnamespacelock, since it seems to require recursive locking
    (which TMultiReadExclusiveWriteSynchronizer does not support)

git-svn-id: trunk@14593 -
This commit is contained in:
Jonas Maebe 2010-01-10 11:41:55 +00:00
parent 356845ba1e
commit 47882716cf

View File

@ -1688,7 +1688,7 @@ begin
ClassList := TThreadList.Create;
ClassAliasList := TStringList.Create;
{ on unix this maps to a simple rw synchornizer }
GlobalNameSpace := TMultiReadExclusiveWriteSynchronizer.Create;
GlobalNameSpace := TSimpleRWSync.Create;
RegisterInitComponentHandler(TComponent,@DefaultInitHandler);
end;