timerqueue.h

来自「RSA algorithm implementation is given」· C头文件 代码 · 共 22 行

H
22
字号
#ifndef _TIMERQUEUE_H_#define _TIMERQUEUE_H_typedef void (*timer_hfunc_t) (void *);class timerQueue{	list<timer>		timerQ;	public:	int timer_add(u_int64_t timeVal, timer_hfunc_t func, void *dataVal);	int set_timer(u_int64_t timeout,timer_hfunc_t fun, void *data);	int set_timer_first(u_int64_t timeout,timer_hfunc_t fun, void *data);	int		scheduleTimer();	int		setRealTimer(u_int64_t timeout);	void	setLowestTimer(u_int64_t timeVal);	};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?