https://gitlab.synchro.net/main/sbbs/-/commit/813bfe634d45360f0caa6abc
Modified Files:
src/xpdev/genwrap.c genwrap.h
Log Message:
Add fast millisecond timer wrapper
Add xp_fast_timer64_ms() beside the existing xp_fast_timer64()
wrapper. The new helper keeps the coarse/fast clock preference used by
the seconds timer, but returns millisecond ticks for callers that need sub-second scheduling without the full precision cost of xp_timer().
On Unix this prefers CLOCK_MONOTONIC_COARSE or CLOCK_MONOTONIC_FAST
when available, then falls back through the existing monotonic choices.
On Windows it mirrors the fast timer path through GetTickCount(), which
already maps to GetTickCount64() on newer WINVER builds.
---
ï¿ Synchronet ï¿ Vertrauen ï¿ Home of Synchronet ï¿ [vert/cvs/bbs].synchro.net