I´ve two threads in my program. There´s need to tell UI when to update from the other thread. I have implemented an AO to my UI thread.
The other thread calls RThread::RequestComplete() -function that works fine, the active objects RunL() gets called.
Here is the code in my AO RunL()
if(iStatus == KErrNone)
but when there´s SetActive() function call, the RunL() is called continuosly, it leaves to forever loop. Why this happens? What I need to do that I´ll get this work.
If I take SetActive() -call away and the RequestComplete gets called twice the program of course crashes...