当我在Windows应用程序中使用线程概念时,CPU使用率将达到95%到100%以上?为什么CPU运行?怎么解决? [英] when I am using Threading Concept in my Windows Application, CPU usage is going to reach more than 95% to 100%? Why CPU running? How to solve?

查看:107
本文介绍了当我在Windows应用程序中使用线程概念时,CPU使用率将达到95%到100%以上?为什么CPU运行?怎么解决?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team, 

Having windows application tool, in this tool we are using thread concepts to execute scripts.

If I run the thread then CPU usage is going to reach more than 95% to 100%.

Once stopped the thread then CPU Usage comes to normal(15%).

Please Explain and give solution?

If I am using 100% (Thread) then my system going to hang and get very slow.

How to solve the problem/.

推荐答案

因为你拒绝向我们展示造成这个问题的代码问题,你是靠自己。没有看到代码就没有办法回答这个问题。



祝你生活愉快。
Since you refuse to show us the code that's causing the problem, you're on your own. There is NO WAY to answer this question without seeing the code.

Have a nice life.


这篇关于当我在Windows应用程序中使用线程概念时,CPU使用率将达到95%到100%以上?为什么CPU运行?怎么解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆