mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-27 20:48:29 +00:00
Add timer ID attribute, for safe cleanup in the scripted environment
This commit is contained in:
1 parent
1fbf534f9a
commit
4a3d760c06
6 files changed
+12
-6
No files matched your search
@@ -3,6 +3,7 @@
|
||||
#include "arch.h"
|
||||
|
||||
struct mg_timer {
|
||||
unsigned long id; // Timer ID
|
||||
uint64_t period_ms; // Timer period in milliseconds
|
||||
uint64_t prev_ms; // Timestamp of a previous poll
|
||||
uint64_t expire; // Expiration timestamp in milliseconds
|
||||
|
||||
Reference in new issue
Block a user