瀏覽代碼

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 年之前
父節點
當前提交
4a4cd675d6
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. 2
    1
      service.cpp
  2. 2
    2
      service.hpp

+ 2
- 1
service.cpp 查看文件

@@ -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 查看文件

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


Loading…
取消
儲存