timer_entry.h
来自「RSA algorithm implementation is given」· C头文件 代码 · 共 28 行
H
28 行
#ifndef _TIMER_H_#define _TIMER_H_typedef void (*timer_hfunc_t) (void *);class timer{ u_int64_t timeout; timer_hfunc_t handler; void *data; public: timer() {} timer(u_int64_t timer_val, timer_hfunc_t handler_ptr, void *func_data) { timeout = timer_val; handler = handler_ptr; data = func_data; } friend class timerQueue;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?