• src/xpdev/threadwrap.c threadwrap.h

    From Deucе@1:103/705 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.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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)
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 typetypedef _Atomic _Bool atomic_bool
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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.9Apparently GNU forgot to include stdatomic.h in GCC 4.8.For Altere and his CentOS 7 system.
    --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)