BBS:      TELESC.NET.BR
Assunto:  src/xpdev/genwrap.c genwrap.h
De:       Deuc¨
Data:     Wed, 27 May 2026 21:34:35 -0700
-----------------------------------------------------------
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.
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]