【紧急】什么函数可以定时调用?
本帖最后由 Emily 于 2014-6-30 15:40 编辑搜索了一圈,找到hiRegTimer,但是这个函数有点怪,不是预期。
procedure(hello()
prog(()
printf("hello wordl %L \n "getCurrentTime())
hiRegtimer("hello()" 60)
)
)
hello()
本来预期是每60秒调用一次hello函数的,但是在实际执行时每一分钟都调用了hello 3次。。
有没有高手知道怎么实现我想要的效果啊? 试试sleep函数 vivienluo 发表于 2014-6-28 15:17 static/image/common/back.gif
试试sleep函数
sleep的话会占用住所有资源在等待,如果用上边的hiRegTimer函数可以定时调用的,不过这函数太坑爹了,调用时间一会长一会短,能有其他办法吗? Emily 发表于 2014-6-28 17:08 static/image/common/back.gif
sleep的话会占用住所有资源在等待,如果用上边的hiRegTimer函数可以定时调用的,不过这函数太坑爹了,调用 ...
axlUIWTimerAdd vivienluo 发表于 2014-6-29 13:48 static/image/common/back.gif
axlUIWTimerAdd
ok,thx!!!!:D http://www.allegro-skill.com/thread-426-1-1.html
页:
[1]