uifw/EikStd/srvuisrc/EIKSRVUI.CPP
branchRCL_3
changeset 25 941195f2d488
parent 4 8ca85d2f0db7
child 29 a8834a2e9a96
equal deleted inserted replaced
23:3d340a0166ff 25:941195f2d488
   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");
   627     if (aThread.Name() == ASCliDefinitions::ServerAndThreadName()) // alarm server died
   628     if (aThread.Name() == ASCliDefinitions::ServerAndThreadName()) // alarm server died
   628         {
   629         {
   629         aThread.Close(); // need to Close() before restarting with same name
   630         aThread.Close(); // need to Close() before restarting with same name
   630         iServerToRestart |= EAlwlSvr; // restarted under active object
   631         iServerToRestart |= EAlwlSvr; // restarted under active object
   631         }
   632         }
   632     else if (aThread.Name()==NameApaServServerThread()) // AppArc server died
   633     else if (aThread.Name() == KAppArcServerThread) // AppArc server died
   633         {
   634         {
   634         aThread.Close();
   635         aThread.Close();
   635         iServerToRestart|=EApaSvr;
   636         iServerToRestart|=EApaSvr;
   636         }
   637         }
   637         
   638