Commit Graph

16 Commits

Author SHA1 Message Date
Vincent Wei
a583dc1cbb optimize and cleanup the timer module to fix the bad update of tick counter 2025-04-30 12:00:38 +08:00
Vincent Wei
cf7cb4c831 timer_count -> tick_count; use __mg_update_tick_count; cleanup MSG_TIMER handling of desktop 2020-02-22 16:06:57 +08:00
Vincent Wei
f3b1401a90 tune field name of TIMER structure 2020-02-21 20:06:22 +08:00
Vincent Wei
864be6b36d tune code for no timer thread for MiniGUI-Threads runmode; remove mg_InstallIntervalTimer and mg_UninstallIntervalTimer, always use mg_InitTimer and mg_TerminateTimer instead 2020-02-21 12:54:24 +08:00
Vincent Wei
6f132886c3 4.2.0 -> 5.0.0 2020-02-18 18:44:42 +08:00
Vincent Wei
7ba6d891eb __mg_dispatch_timer_message -> __mg_check_expired_timers 2020-02-17 19:22:45 +08:00
Vincent Wei
0882bf8270 move USEC_1S and USEC_10MS to constants.h 2020-02-16 18:47:08 +08:00
Vincent Wei
786f9f90a0 move timer slots to message queue and tune code. now we allocate timer slots per thread, and manage the time slots in message queue 2020-02-16 10:30:37 +08:00
Vincent Wei
21160fb01d rename internal symbols for better coding style 2020-02-14 12:54:54 +08:00
Vincent Wei
14d020cccf cleanup: convert tab to spaces and trim tail spaces 2020-02-02 10:53:31 +08:00
Vincent Wei
637dbbce68 change link to licensing policy 2019-11-13 11:53:59 +08:00
Vincent Wei
53c77a9a73 prepend excpetion list statement 2019-07-15 14:17:20 +08:00
VincentWei
62efa8b29a clean up the header copying statements 2018-02-04 17:01:37 +08:00
VincentWei
6290779a02 tune the implementation of tracing message 2018-01-21 18:09:51 +08:00
VincentWei
dbcc408ad3 make timer-related APIs compiant to 64-bit 2018-01-21 17:07:48 +08:00
Vincent Wei
e87d052072 initical commit 2017-05-29 12:20:05 +08:00