FreeBSD/contrib/subversion/subversion/svnserve/winservice.c
/* main() calls this function in order to inform the SCM that the
   service has successfully started.  This is required; otherwise, the
   SCM will believe that the service is stuck in the "starting" state,
   and management tools will also believe that the service is stuck. */
main() calls this function in order to inform the SCM that the
service has successfully started.  This is required; otherwise, the
SCM will believe that the service is stuck in the "starting" state,
and management tools will also believe that the service is stuck.
main () calls this function in order to inform the SCM that the service has successfully started . This is required ; otherwise the SCM will believe that the service is stuck in the " starting " state and management tools will also believe that the service is stuck .
void
winservice_running(void)
{
  winservice_status.dwCurrentState = SERVICE_RUNNING;
  winservice_update_state();
  dbg_print("winservice_notify_running: service is now running\r\n");
}
void winservice_running ( void ) { winservice_status . dwCurrentState = SERVICE_RUNNING ; winservice_update_state ( ) ; dbg_print ( " \r \n " ) ; }
main() calls this function in order to inform the SCM that the
service has successfully started.
main () calls this function in order to inform the SCM that the service has successfully started .