Przeglądaj źródła

Tested Stop callback on Windows.

git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@46 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz 9 lat temu
rodzic
commit
4a4cd675d6
2 zmienionych plików z 4 dodań i 3 usunięć
  1. 2
    1
      service.cpp
  2. 2
    2
      service.hpp

+ 2
- 1
service.cpp Wyświetl plik

@@ -690,6 +690,8 @@ namespace CodeDweller {
}
#endif
void Service::watchdog() {
// Sleep and check whether the process should exit.
@@ -707,5 +709,4 @@ namespace CodeDweller {
}
#endif
}

+ 2
- 2
service.hpp Wyświetl plik

@@ -261,14 +261,14 @@ namespace CodeDweller {
/// Thread start function to receive and process messages.
void processMessages();

#endif

/// Thread start function for the watchdog thread.
//
// This thread sleeps until timeoutTime, and then causes the
// process to exit.
void watchdog();

#endif

/// Command-line arguments.
static std::vector<std::string> cmdLineArgs;


Ładowanie…
Anuluj
Zapisz