contentstorage/srvsrc/casrv.cpp
changeset 61 8e5041d13c84
parent 60 f62f87b200ec
child 80 397d00875918
equal deleted inserted replaced
60:f62f87b200ec 61:8e5041d13c84
    24 #include "casrvengutils.h"
    24 #include "casrvengutils.h"
    25 #include "castorageproxy.h"
    25 #include "castorageproxy.h"
    26 #include "casrvmanager.h"
    26 #include "casrvmanager.h"
    27 
    27 
    28 // ==================== LOCAL FUNCTIONS ====================
    28 // ==================== LOCAL FUNCTIONS ====================
    29 
       
    30 /**
       
    31  * Stop the Active Scheduler.
       
    32  * @param aPtr Not used.
       
    33  * @return KErrNone.
       
    34  */
       
    35 LOCAL_C TInt StopScheduler( TAny* /*aPtr*/)
       
    36     {
       
    37     // Called by the exit timer, after all clients disconnected (plus a small
       
    38     // delay). Stop the scheduler, this will enable he thread exit.
       
    39     CActiveScheduler::Stop();
       
    40     return KErrNone;
       
    41     }
       
    42 
    29 
    43 /**
    30 /**
    44  * Create a server.
    31  * Create a server.
    45  * @param Pointer to created server (if created) returned here.
    32  * @param Pointer to created server (if created) returned here.
    46  * @return Error code.
    33  * @return Error code.