InterlockedIncrement function

drjackool 956 Reputation points


in Win32

In multi threaded app if we have a global variable to increment and decrement it, from worker threads if we use InterlockedIncrement function, should also use Critical section lock or we do not need critical section lock?


Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,511 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful