首页 相关文章 确定一个应用程序是否没有响应

确定一个应用程序是否没有响应

  今天在MSN的核心讨论组上看到两篇文章.讨论的乃是应用程序是否没有响应.原文如下:

   How is it possible to determine a process is "not responding" like NT Task

   Manager do?

  The heuristic works only for GUI processes, and consists of calling

  SendMessageTimeOut() with SMTO_ABORTIFHUNG.

  There is any API call to do the job, or this status is simply a deduction

  based on process counters, like that returned from call to GetProcessTimes

  API function?

  Use SendMessageTimeout with a value of WM_NULL. That's all Task

 ...[ 查看全文 ]

2016-02-19 标签:

确定一个应用程序是否没有响应的相关文章

手机页面
收藏网站 回到头部