소스 검색

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