Browse Source

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 years ago
parent
commit
4a4cd675d6
2 changed files with 4 additions and 3 deletions
  1. 2
    1
      service.cpp
  2. 2
    2
      service.hpp

+ 2
- 1
service.cpp View File

} }
#endif
void Service::watchdog() { void Service::watchdog() {
// Sleep and check whether the process should exit. // Sleep and check whether the process should exit.
} }
#endif
} }

+ 2
- 2
service.hpp View File

/// Thread start function to receive and process messages. /// Thread start function to receive and process messages.
void processMessages(); void processMessages();


#endif

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


#endif

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



Loading…
Cancel
Save