Bläddra i källkod

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 10 år sedan
förälder
incheckning
4a4cd675d6
2 ändrade filer med 4 tillägg och 3 borttagningar
  1. 2
    1
      service.cpp
  2. 2
    2
      service.hpp

+ 2
- 1
service.cpp Visa fil

@@ -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 Visa fil

@@ -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;


Laddar…
Avbryt
Spara