signal handling: fReopenDebugLog and fRequestShutdown should be type sig_atomic_t #8004

pull catilac wants to merge 1 commits into bitcoin:master from catilac:fix_signal_handler changing 3 files +7 −3
  1. catilac commented at 4:47 AM on May 5, 2016: contributor

    This allows access as an atomic variable in the presence of async interrupts.

    See issue #7433 for more details fixes: #7433

  2. laanwj added the label Bug on May 5, 2016
  3. laanwj commented at 5:54 AM on May 5, 2016: member

    I think you're missing signal.h include at the places you use the type.

  4. catilac commented at 10:55 PM on May 8, 2016: contributor

    @laanwj ahh you were right 👍

  5. MarcoFalke commented at 7:09 AM on May 9, 2016: member

    @catilac Mind to squash the commits?

  6. laanwj commented at 8:52 AM on May 9, 2016: member

    ACK after squash into one "atomic" commit E.g.

    $ git checkout fix_signal_handler
    $ git rebase -i 88b77c7
    # set bottom two commits from 'pick' to 'squash', save and quit editor
    $ git push -f
    
  7. fReopenDebugLog and fRequestShutdown should be type sig_atomic_t
    This allows access as an atomic variable in the presence
    of async interrupts.
    
    See issue #7433 for more details
    fixes: #7433
    326231611b
  8. catilac commented at 3:22 PM on May 9, 2016: contributor

    Ah right! Done and done.

  9. sipa commented at 7:29 PM on May 9, 2016: member

    utACK 326231611bda6808b579ab7286e471c36f62e98c

  10. fanquake commented at 5:39 AM on May 10, 2016: member

    utACK 3262316

  11. dcousens commented at 3:15 AM on May 11, 2016: contributor

    utACK 3262316

  12. laanwj merged this on May 12, 2016
  13. laanwj closed this on May 12, 2016

  14. laanwj referenced this in commit 2efe38b832 on May 12, 2016
  15. elfring commented at 1:00 PM on May 12, 2016: none
  16. zkbot referenced this in commit 11ce636a9d on Oct 25, 2016
  17. codablock referenced this in commit 7a4f1329f9 on Sep 16, 2017
  18. codablock referenced this in commit 89077fc012 on Sep 19, 2017
  19. codablock referenced this in commit 26f07f835c on Dec 21, 2017
  20. 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-14 21:15 UTC

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