Hello,
is there some possibility to enclose a short block of code (variable assignment and integer arithmetics) in an atomic operation? Like what the LOCK/ENDLOCK does for CRL.
Thanks.
Welcome to our forums
Hello,
is there some possibility to enclose a short block of code (variable assignment and integer arithmetics) in an atomic operation? Like what the LOCK/ENDLOCK does for CRL.
Thanks.
I know this post is quite old, but in case you are still looking :- you should be able to call out to the standard win 32 routines InitializeCriticalSection, EnterCriticalSection, LeaveCriticalSection and DeleteCriticalSection. These are declared in win32api.ins / msw32mod.