积极答复者
线程守护程序如何设计

问题
答案
-
你好,
你的需求还是不清楚,你做的线程守护程序和才是什么关系呢? 被监视的线程在那个进程中呢?
如果被监视的线程是在守护进程中, 那你就在程序中保存线程对象变量,然后用定时器检查ThreadState属性,应该可以实现你的需要。
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- 已标记为答案 ZhouChaoQun 2009年5月21日 9:47
- 取消答案标记 ZhouChaoQun 2009年5月21日 9:47
- 已标记为答案 ZhouChaoQun 2009年5月25日 0:14
全部回复
-
你好,
最好给出详细的描述以便我们可以给你建议,给出这些信息如你的场景,这个程序具体做什么等等,不然我们不知道该如何帮助你。
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. -
你好,
你的需求还是不清楚,你做的线程守护程序和才是什么关系呢? 被监视的线程在那个进程中呢?
如果被监视的线程是在守护进程中, 那你就在程序中保存线程对象变量,然后用定时器检查ThreadState属性,应该可以实现你的需要。
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- 已标记为答案 ZhouChaoQun 2009年5月21日 9:47
- 取消答案标记 ZhouChaoQun 2009年5月21日 9:47
- 已标记为答案 ZhouChaoQun 2009年5月25日 0:14