Hi all
I need a little help about multi thread programming.
My application has two thread.
1) Thread1 receive data from socket and fill a descriptor list
2) Thread2 read single data from the list, elaborate it and then communicate to the view the data to be displayed. Then it goes on with the next data.
MainThread: create the common list and start the ReadersThread. Then it appends on this list the data received from a bluetooth socket (100 packets per second!)
ReadersThread: when something is available on the list, it elaborates it and it writes it on a file. Then it send data to the view.
The problem is the classic readers and writers model. In other programming language, such as C#, I use events to wake up reader thread when the data is available on the list. what could be a solution in Symbian???
Best regards
Manuela

Reply With Quote

