The variables view lists in-scope variables each time a thread or the program stops.
每一次线程或者程序结束的时候,变量视图都会列出范围内的变量。
If it doesn't, the StringReader thread prints out a message and stops.
如果不行,StringReader线程打印出一条消息并停止。
Since the ServiceStatus structure is global to the whole program, the worker loop in ServiceMain stops after the current state changes and the service thread terminates.
由于 ServiceStatus 结构对于整个程序而言为全局量,ServiceStatus 中的工作循环在当前状态改变或服务终止后停止。
应用推荐