One very useful use for it is when you start up a thread, but want to wait in the first thread, until the starting thread has finished initialization.
Or any time when two threads need some synchronization.
I think that is the main usecase its designed for, but you can ofcourse use it anyway you feel useful.
There is two versions of the Rendevouz call that does very different things. The one that takes a TRequestStatus, you are supposed to call in the first thread, and then wait on the TRequestStatus with User::WaitForRequest. (or embed in a CActive)
In the second, new thread, you call the Rendevouz call that takes a TInt when you want the first thread to stop waiting. That call will complete the request with the TInt as errorcode, and make the first thread start to execute again.
Forum posts: 1232
Or any time when two threads need some synchronization.
I think that is the main usecase its designed for, but you can ofcourse use it anyway you feel useful.
There is two versions of the Rendevouz call that does very different things. The one that takes a TRequestStatus, you are supposed to call in the first thread, and then wait on the TRequestStatus with User::WaitForRequest. (or embed in a CActive)
In the second, new thread, you call the Rendevouz call that takes a TInt when you want the first thread to stop waiting.
That call will complete the request with the TInt as errorcode, and make the first thread start to execute again.