搜索资源列表
timer.tar
- linux下同一个进程中多个定时器实现。简单描述下定时器模块的实现,有一个manager单例类保存所有CTimer对象,开启一线程运行延迟函数,每次延迟间隔到,扫描保存CTimer的容器,对每个CTimer对象执行减少时间操作,减少到0则执行回调函数。对一次性CTimer,超时则从容器中删除,循环型的将间隔时间重置,不从容器中移除。 CTimer的start执行将对象插入到manager容器中操作;stop执行将对象从manager容器中删除的操作;reset执行先删除,重置间隔,然后再放到
kaka
- linux2.6驱动模块,包含驱动makefile,应用层程序,定时器,io口操作,中断操作,led操作,对于想熟悉linux驱动的朋友很不错-linux2.6 drive module, including the driver makefile, the application layer procedures, timer, io port operation, interrupt operation, led the operation, for want of a friend fam
writeQueue2013-1-5
- 这是一个写队列,初始化时申请大量的list,并采用定时或者单个list满则立即执行队列中的操作,采用内部多线程封装,外部只有部分接口直接使用-This is a write queue, to apply for a large number of list initialization and timing or a single list is full of immediate execution queue operation using internal multithreading
fileOperate
- c文件操作,随机不定时写入固定格式数据到文件,然后读取文件数据输出数据块个数-c file operations, random timed write fixed format data to a file, and then read the file data output number of data blocks