Use std::atomic for fRequestShutdown and fReopenDebugLog #8123

pull sipa wants to merge 2 commits into bitcoin:master from sipa:notsigbutatomic changing 3 files +4 −5
  1. sipa commented at 1:40 PM on May 30, 2016: member

    Alternative to #8112.

  2. laanwj commented at 12:53 PM on May 31, 2016: member

    Nice, yes I think this is a much better idea as the flags (well, fRequestShutdown, and we may want some non-signal reopen-debuglog trigger as well at some point) can be set from non-signal context as well.

    utACK https://github.com/bitcoin/bitcoin/pull/8123/commits/ddd2c09e55430094ca87bb4930db093558dae6c7

  3. Revert "Include signal.h for sig_atomic_t in WIN32"
    This reverts commit 88f14b999cb70f6c556633f2889e698a05305158.
    16cf85fa2c
  4. Use std::atomic for fRequestShutdown and fReopenDebugLog a886dbf8e7
  5. sipa force-pushed on Jun 1, 2016
  6. sipa commented at 5:19 PM on June 1, 2016: member

    Oops, accidentally merged the alternative version. Updated this one to first revert the other...

  7. sipa merged this on Jun 1, 2016
  8. sipa closed this on Jun 1, 2016

  9. sipa referenced this in commit 2e0a99037d on Jun 1, 2016
  10. zkbot referenced this in commit 11ce636a9d on Oct 25, 2016
  11. codablock referenced this in commit aaeff61cd4 on Sep 16, 2017
  12. codablock referenced this in commit 2c5b5a9989 on Sep 19, 2017
  13. codablock referenced this in commit bf069fb1bd on Dec 22, 2017
  14. andvgal referenced this in commit b1fef0f6cd on Jan 6, 2019
  15. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-15 00:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me