https://gitlab.synchro.net/main/sbbs/-/commit/7710c344453a1ee30157ef86
Modified Files:
src/sbbs3/js_system.c src/xpdev/genwrap.c
Log Message:
Fix msclock() and xp_timer() to be monotonic on *nix
Previously, these both used gettimeofday() which is both expensive
to call, and not monotonic.
This fixes system.clock_ticks in JS and various internal bits. for
when the UTC wall clock jumps.
While we're here, fix the documention of system.clock_ticks
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net