__                 _ _                _
  / _| ___   ___   __| | |__   __ _ _ __| | __
 | |_ / _ \ / _ \ / _` | '_ \ / _` | '__| |/ /
 |  _| (_) | (_) | (_| | |_) | (_| | |  |   <
 |_|  \___/ \___/ \__,_|_.__/ \__,_|_|  |_|\_\

A personal BBS  ·  Missoula, Montana  ·  formerly NaClCON BBS

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

  • src/xpdev/genwrap.c genwrap.h

    From Deucе@VERT to Git commit to main/sbbs/master on Wed May 27 21:34:35 2026
    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