Commit Graph
37 Commits
Author SHA1 Message Date
Vincent Wei 3643606a7f restore the system interval timer for the server under runmode procs 2025-04-30 14:12:19 +08:00
Vincent Wei 3ef2340749 restore old logic to update timer_expected 2025-04-30 12:10:47 +08:00
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 d4add19e6a tune GetTickCount for threads mode 2023-05-08 20:09:23 +08:00
Vincent Wei bfaeae0023 call GetTickCount when setting timer 2023-05-08 19:48:21 +08:00
Vincent Wei 4ebd23bf56 use MSG_TIMEOUT instead of MSG_TIMER for desktop 2021-05-03 21:26:42 +08:00
Vincent Wei fc2c171d96 fix a bug of __mg_update_tick_count; remove some deprecated code; tune SetTimerEx to allow duplicated call for same timer 2020-02-25 18:27:57 +08:00
Vincent Wei a64292a926 use __mg_os_get_time_ticks instead of __mg_os_get_elapsed_ms; update __mg_tick_counter in GetTickCount 2020-02-25 17:18:49 +08:00
Vincent Wei ec5eec69ef isWindowInThisThread -> getMainWinIfWindowInThisThread 2020-02-23 19:06:33 +08:00
Vincent Wei 097dcc2af7 donot use inline function to set/remove timer flags 2020-02-22 17:17:43 +08:00
Vincent Wei 3fe0294782 tune __mg_update_tick_count and post MSG_TIMER to desktop 2020-02-22 16:03:11 +08:00
Vincent Wei 07106925c6 tune implmentation of timer 2020-02-21 20:03:26 +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 c5bac09fd2 tune for virtual window 2020-02-17 19:31:40 +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 a12b75cd1b tune code for virtual window 2020-02-15 23:01:27 +08:00
Vincent Wei 21160fb01d rename internal symbols for better coding style 2020-02-14 12:54:54 +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
Vincent Wei e256fb2a0a restore timer thread 2019-07-14 17:17:40 +08:00
Vincent Wei ce29edbca6 disable timer thread for MiniGUI-Threads 2019-07-14 17:08:36 +08:00
Vincent Wei 8040f7abd5 __mg_time -> mg_os_time; __mg_mktime -> __mg_os_mktime; __mg_localtime -> __mg_os_localtime; use clock_gettime for tick count instead of gettimeofday 2019-07-14 14:21:40 +08:00
Vincent Wei 11950343df two new non-posix functions: __mg_os_start_time and __mg_os_get_time, and use __mg_os_get_time to implement GetTickCount for MiniGUI Standalone runmode 2019-07-12 16:38:16 +08:00
Vincent Wei d3541df49e remove debug printf 2019-05-17 16:49:01 +08:00
Vincent Wei b9fd4b9178 New API: GetNextUChar 2019-05-15 11:58:48 +08:00
Vincent Wei 8fe06d5a07 use const for pointer fields of INNER_RES 2019-04-15 16:44:37 +08:00
Vincent Wei 338fb0276e use _DEBUG for real output of _DBG_PRINTF 2019-03-27 10:08:01 +08:00
Vincent Wei a725acfd5e debug GetGlyphsByRules 2019-01-25 16:14:42 +08:00
VincentWei 977ac1ec9b fix bug of (0x01<<slot) for 64bit 2018-05-19 00:56:39 +08:00
VincentWei 62efa8b29a clean up the header copying statements 2018-02-04 17:01:37 +08:00
VincentWei d5c8e15cb9 add debug print for timer 2018-01-30 11:56:36 +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
VincentWei 766ddb5555 tune code for 64b (MiniGUI-Processes runmode) 2018-01-19 15:35:26 +08:00
Vincent Wei 267d9c1b12 merge from rel-3-0 branch 2017-10-26 13:34:57 +08:00
Vincent Wei e87d052072 initical commit 2017-05-29 12:20:05 +08:00