uifw/EikStd/srvuisrc/EIKSRVUI.CPP
branchRCL_3
changeset 29 a8834a2e9a96
parent 25 941195f2d488
child 55 aecbbf00d063
equal deleted inserted replaced
25:941195f2d488 29:a8834a2e9a96
   622     iEikServExtra->iServerRestarter = CPeriodic::NewL(CActive::EPriorityStandard);
   622     iEikServExtra->iServerRestarter = CPeriodic::NewL(CActive::EPriorityStandard);
   623     }
   623     }
   624 
   624 
   625 EXPORT_C void CEikServAppUiBase::HandleThreadExitL(RThread& aThread)
   625 EXPORT_C void CEikServAppUiBase::HandleThreadExitL(RThread& aThread)
   626     {
   626     {
   627     _LIT(KAppArcServerThread, "AppArcServerThread");
       
   628     if (aThread.Name() == ASCliDefinitions::ServerAndThreadName()) // alarm server died
   627     if (aThread.Name() == ASCliDefinitions::ServerAndThreadName()) // alarm server died
   629         {
   628         {
   630         aThread.Close(); // need to Close() before restarting with same name
   629         aThread.Close(); // need to Close() before restarting with same name
   631         iServerToRestart |= EAlwlSvr; // restarted under active object
   630         iServerToRestart |= EAlwlSvr; // restarted under active object
   632         }
   631         }
   633     else if (aThread.Name() == KAppArcServerThread) // AppArc server died
   632     else if (aThread.Name()==NameApaServServerThread()) // AppArc server died
   634         {
   633         {
   635         aThread.Close();
   634         aThread.Close();
   636         iServerToRestart|=EApaSvr;
   635         iServerToRestart|=EApaSvr;
   637         }
   636         }
   638         
   637