D
Donos
I have an app in which there are 4 threads running simultaneously.
Right now am using "Events" to do the synchronization between threads.
Like, there is a Server writing thread and then there is a Server
reading thread. Once Read thread, reads data from Server, it will Set
an Event for Write thread to continue.
So my question is, In this scenario do i need to use CCriticalSection?
Right now am using "Events" to do the synchronization between threads.
Like, there is a Server writing thread and then there is a Server
reading thread. Once Read thread, reads data from Server, it will Set
an Event for Write thread to continue.
So my question is, In this scenario do i need to use CCriticalSection?