关于计时器求助
lua吧
全部回复
仅看楼主
level 1
邪恶小香蕉
楼主
用lua怎样建立一个计时器?
2013年02月25日 02点02分
1
level 11
关签
可以用
os.clock ()
说明:Returns an approximation of the amount in seconds of CPU time used by the program.
2013年02月25日 08点02分
2
邪恶小香蕉
谢谢,我先试试
2013年02月25日 14点02分
level 6
owenliang1990
可以用C实现接口, 开始定时器即调用settimer/alarm, 允许传入一个回调函数, 等信号触发由C调用你的回调函数即可。
2013年02月27日 09点02分
3
1