refactor the implementation of timer in Linux

This commit is contained in:
Jinhao
2019-07-14 13:40:17 +08:00
parent 5acbbf548e
commit 07871b1f36
5 changed files with 91 additions and 74 deletions

View File

@@ -22,14 +22,16 @@
namespace nana
{
/// Can repeatedly call a piece of code.
class timer;
struct arg_elapse
: public event_arg
{
long long id; //timer identifier;
timer* sender; //indicates which timer emitted this notification
};
/// Can repeatedly call a piece of code.
class timer
{
struct implement;