moin-moin,
I need the MS Visual C (6.0) equivalent for the functions “DosEnterCritSec()” and “DosExitCritSec()”, which garantees, that no two threads are executing the enclosed code at the same time.
Can anybody please point me into the right direction?
Thanks a lot,
Peter
EnterCriticalSection() / LeaveCriticalSection()
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682608(v=vs.85).aspx