Переглянути джерело

rtl: fix crash in TMultiReadExclusiveWriteSynchronizer.Beginwrite

git-svn-id: trunk@14591 -
paul 15 роки тому
батько
коміт
9bad162368
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      rtl/objpas/sysutils/sysuthrd.inc

+ 1 - 1
rtl/objpas/sysutils/sysuthrd.inc

@@ -75,7 +75,7 @@ begin
     after aquiring the fwritelock, because otherwise one
     writer could reset the fwaitingwriterlock of another one
     that's about to wait on it) }
-  BasicEventResetEvent(fwaitingwriterlock);
+  RTLeventResetEvent(fwaitingwriterlock);
   { new readers have to block from now on; writers get priority to avoid
     writer starvation (since they have to compete with potentially many
     concurrent readers) }