You are not logged in.
Pages: 1
Hi,
current implementation of TSynLocker is nonfunctional/buggy for pointers. Simple example will raise SIGSEGV
uses
SynCommons;
var
Locker: TSynLocker;
begin
Locker.Init;
Locker.LockedPointer[0] := Pointer(1);
Locker.Done;
end.
bug is very simple to fix:
https://github.com/synopse/mORMot/pull/49
I wonder why my pull request is still not accepted...
Last edited by hnb (2017-11-07 08:32:20)
best regards,
Maciej Izak
Offline
I forgot to add Init/Done in example but SIGSEGV of course still occurs.
best regards,
Maciej Izak
Offline
Pages: 1