• src/sbbs3/sbbs.h

    From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Monday, June 26, 2023 12:23:25
    https://gitlab.synchro.net/main/sbbs/-/commit/461682fbbc3196ae2a2d5fc3
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Thread-safe wrappers for std/socket errno description getters for sbbs_t

    These should only be used in the sbbs_t methods called by node_thread or event_thread. Any other thread-shared sbbs_t instances should not use these methods since they share a single error description string buffer.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sunday, November 30, 2025 16:03:59
    https://gitlab.synchro.net/main/sbbs/-/commit/77a1549c76f1a911944d41bd
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Zero-initialize the login_state member variable

    This fixes issue #1009 (logging details of connections that had no login/logon) ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, December 30, 2025 16:39:35
    https://gitlab.synchro.net/main/sbbs/-/commit/4a2c2c708c57d0aa2d3a69d3
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Make sbbs_t::online and sys_static atomic member variables

    Since sbbs_t::online and sys_status are modified and checked in different threads, they really should've been atomic or at least volatile to prevent
    the compiler-optimizer from using the current/updated values at all times.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Rob Swindell (on Windows 11) on Tuesday, December 30, 2025 16:49:39
    Re: src/sbbs3/sbbs.h
    By: Rob Swindell (on Windows 11) to Git commit to main/sbbs/master on Tue Dec 30 2025 04:39 pm

    Since sbbs_t::online and sys_status are modified and checked in different threads, they really should've been atomic or at least volatile to prevent the compiler-optimizer from using the current/updated values at all times.

    that should read: prevent the compiler-optimizer from *not* using ...
    --
    digital man (rob)

    Steven Wright quote #25:
    If at first you don't succeed, destroy all evidence that you tried.
    Norco, CA WX: 66.8øF, 27.0% humidity, 7 mph ESE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net