• src/xpdev/threadwrap.c threadwrap.h

    From Deuc¿@VERT to Git commit to main/sbbs/master on Wed Feb 17 21:58:26 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/e06cc807457b2cdc79fa04d4
    Modified Files:
    src/xpdev/threadwrap.c threadwrap.h
    Log Message:
    Use atomics for protected types.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Feb 17 22:14:44 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/e1e034cc4d969c30573d26d8
    Modified Files:
    src/xpdev/threadwrap.c threadwrap.h
    Log Message:
    Use atomics for protected-ints on other *nixes too (not just FreeBSD)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Feb 17 22:42:21 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/ddb1cea4a8bee9050a4cbc2b
    Modified Files:
    src/xpdev/threadwrap.c threadwrap.h
    Log Message:
    Revert "Use atomics for protected-ints on other *nixes too (not just FreeBSD)"

    This reverts commit e1e034cc4d969c30573d26d87c8d65d53458590b.

    Didn't work for .cpp files:
    stdatomic.h:40:9: error: `_Atomic' does not name a type
    typedef _Atomic _Bool atomic_bool

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Feb 22 17:54:48 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/61c0a8b2c6fa9192fbd81fbd
    Modified Files:
    src/xpdev/threadwrap.c threadwrap.h
    Log Message:
    Don't try to use atomics for GCC versions < 4.9

    Apparently GNU forgot to include stdatomic.h in GCC 4.8.
    For Altere and his CentOS 7 system.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net