mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 15:50:39 +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!
|
||||
PrevLockCount:=aLock^.LockCount;
|
||||
aLock^.LockCount:=0;
|
||||
aLock^.LockOwnerThreadID:=0;
|
||||
aLock^.LockOwnerThreadID:=TThreadID(0);
|
||||
LeaveCriticalSection(aLock^.CriticalSection);
|
||||
|
||||
Result:=aPulse.Wait(aTimeOut);
|
||||
|
Loading…
Reference in New Issue
Block a user