.net's monitor class equivilent functionality in pure c++

  • Thread starter Thread starter Abubakar
  • Start date Start date
A

Abubakar

Hi,
I have used the Monitor/manualresetevent class in .net to sycnhronize
threads in C#, right now I'm programming in pure c++ and win32 and want to
acheive the same functionality. Whats the equivilent of that in c++?

int m_regards;

_Ab_.
 
Abubakar said:
Hi,
I have used the Monitor/manualresetevent class in .net to sycnhronize
threads in C#, right now I'm programming in pure c++ and win32 and want to
acheive the same functionality. Whats the equivilent of that in c++?

int m_regards;

_Ab_.

In C++ you can use "critical section objects to synchronize threads, search
the platform SDK docs for more details.

Willy.
 
Thanks Willy.

Ab.

Willy Denoyette said:
In C++ you can use "critical section objects to synchronize threads, search
the platform SDK docs for more details.

Willy.
 
Back
Top