瀏覽代碼

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

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

/// 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…
取消
儲存