فهرست منبع

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) }