• src/xpdev/threadwrap.c threadwrap.h

    From deuce@VERT to CVS commit on Wednesday, December 31, 2014 14:38:05
    src/xpdev threadwrap.c 1.32 1.33 threadwrap.h 1.47 1.48
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv18677

    Modified Files:
    threadwrap.c threadwrap.h
    Log Message:
    Add protected_*_set() functions to set the value of a protected type.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Sunday, October 04, 2015 15:09:00
    src/xpdev threadwrap.c 1.33 1.34 threadwrap.h 1.48 1.49
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv16699

    Modified Files:
    threadwrap.c threadwrap.h
    Log Message:
    Add a pthread_once() implementation for Win32 (untested on Win32).




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Deuc¨@VERT 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT 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)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT 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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT 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.

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