• src/xpdev/threadwrap.c threadwrap.h

    From Deuc╨╡ to Git commit to main/sbbs/master on Wednesday, February 17, 2021 21:58:26
    https://gitlab.synchro.net/main/sbbs/-/commit/e06cc807457b2cdc79fa04d4
    Modified Files:
    src/xpdev/threadwrap.c threadwrap.h
    Log Message:
    Use atomics for protected types.
  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, February 17, 2021 22:14:44
    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)
  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, February 17, 2021 22:42:21
    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
  • From Rob Swindell to Git commit to main/sbbs/master on Monday, February 22, 2021 17:54:48
    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.