ERROR: Power Handler function yield to low priority thread 解决办法
来源:互联网 发布:蓝博软件升级 编辑:程序博客网 时间:2024/05/16 17:39
ERROR: Power Handler function yield to low priority thread 解决办法(作者:JNU_kinke)
wince5.0休眠唤醒的时候出现ERROR: Power Handler function yield to low priority thread. 异常
,导致系统唤醒过程很慢。
上网上找一下资料说到:
You can't make a system call of any kind in a power handler routine. You
could implement this requirement by making the driver power manager aware
and performing the operation when the PM tells you to change state.
在power handler routine中不能调用系统函数,比如sleep()
因为很多帖子都提到“power handler routine中不能调用系统函数”,虽然有点肯定就是这个原因,但
是系统这么多驱动不知如何下手,我想到的调试办法就是一个一个驱动试。首先不加载camra驱动,不行;再
不加载backlight驱动,比较幸运,原来就是这个驱动搞得鬼。找到backlight驱动的power_up代码:
BAK_PowerUp(void)
{
BL_On(TRUE);
//BL_PowerOn(TRUE);
}
BAK_PowerUp调用了 BL_On, BL_On是背光开关函数,其中调用了注册表函数RegOpenKeyEx。调整了backlight
驱动的程序结构,问题最终得到解决。
- ERROR: Power Handler function yield to low priority thread 解决办法
- ERROR: Power Handler function yield to low priority thread. 解决方法
- ERROR: Power Handler function yield to low priority thread 解决办法(作者:JNU_kinke)
- windows mobile 6.5.3 ERROR: Power Handler function yield to low priority thread.
- How to schedule the thread's priority?
- priority -- join -- yield
- error: Call to undefined function imagecreate()的解决办法
- Fatal error: Call to undefined function mysql_connect()解决办法
- Fatal error: Call to undefined function mysql_connect() 解决办法
- PHP Fatal error: Call to undefined function mcrypt_module_open()解决办法
- PHP error: Call to undefined function imagecreate()的解决办法
- Fatal error: Call to undefined function mysql_connect()的解决办法
- joomla错误 Fatal error: Call to undefined function simplexml_load_file() 解决办法!
- Thread.yield( )
- Thread yield
- Thread.yield()
- Thread.yield()
- Thread.yield( )
- windows命令:启动停止某个服务
- SQL语句
- SQL中存储过程中SQL语句的单引号和双引号问题
- OSGI:helloworld
- SQL中存储过程中SQL语句的单引号和双引号问题2
- ERROR: Power Handler function yield to low priority thread 解决办法
- C语言编程开发中用好位操作符
- Windows Mobile 6《注册表优化指南》
- matlab模拟linux命令grep
- 第一封博客计算机软件文档编写指南
- 生活,是要用心来感悟的
- uc/os-ii应用程序中函数的调用关系
- 堆和栈是两个不同的概念!又长见识了----收藏
- VMware 虚拟机与主机(本机)文件共享方法