Hello:
I am trying to create an audio processor, and I have a program that creates some threads (in Windows). The "main" program creates the audio processor thread, and then creates the audio reader thread. I would like to know how the audio reader can tell the processor that the audio has finished. I have tried with events, but (correct me if I am wrong) when using events a thread has to wait until the other sets the event; and it is not may case, because in my processor thread the processor is working inside a loop that has to check if the audio-picking has finished; if not, it continues working.
Any help...?
Thank you,
Xagutxu