瀏覽代碼

* 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 -

Jonas Maebe 15 年之前
父節點
當前提交
47882716cf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/objpas/classes/classes.inc

+ 1 - 1
rtl/objpas/classes/classes.inc

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