mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 11:09:19 +02:00
* Fix wrong type for threadID
This commit is contained in:
parent
f9b98092c4
commit
85494cdb1d
@ -344,7 +344,7 @@ begin
|
|||||||
// Forcibly unlock through any amount of recursive acquisitions!
|
// Forcibly unlock through any amount of recursive acquisitions!
|
||||||
PrevLockCount:=aLock^.LockCount;
|
PrevLockCount:=aLock^.LockCount;
|
||||||
aLock^.LockCount:=0;
|
aLock^.LockCount:=0;
|
||||||
aLock^.LockOwnerThreadID:=0;
|
aLock^.LockOwnerThreadID:=TThreadID(0);
|
||||||
LeaveCriticalSection(aLock^.CriticalSection);
|
LeaveCriticalSection(aLock^.CriticalSection);
|
||||||
|
|
||||||
Result:=aPulse.Wait(aTimeOut);
|
Result:=aPulse.Wait(aTimeOut);
|
||||||
|
Loading…
Reference in New Issue
Block a user