检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]上海交通大学信息安全工程学院,上海200030
出 处:《计算机工程与应用》2006年第3期93-96,115,共5页Computer Engineering and Applications
基 金:上海市科学技术委员会(编号:04dz15012)
摘 要:定时器是J2ME中实现多任务调度执行的程序框架,由Timer和TimerTask组成,它维护着一个任务队列,管理一个后台线程,任务的调度由后台线程完成。文章简要介绍了定时器,分析其实现机制,探讨了影响其精确度的因素。通过利用虚拟机本地方法调用、事件处理等技术,改进了定时器的计时机制,同时提高了其精确度,并在基于Linux的KVM中实现。As an application framework of J2ME,Timer realizes multi-task scheduling,which is carried out by a background thread.It is consisted by a Timer class and a TimerTask class.The paper introduces the concept of Timer, analyses its implementation mechanism,and discusses the factors influencing its accuracy.Then through changing its timing mechanism,the accuracy will be improved and the new Timer is realized in KVM which is based on Linux kernel platform.
关 键 词:嵌入式系统 JAVA虚拟机 定时器 J2ME 程序框架
分 类 号:TP302.7[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.147.79.7