Get rid of DetectShutdownThread #5679

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2015_01_no_shutdown_thread changing 1 files +3 −13
  1. laanwj commented at 2:38 PM on January 19, 2015: member

    The main thread spends time waiting for the DetectShutdownThread. So why not just run this waiting loop function in the main thread?

    One thread-stack less saves 4MB of virtual memory on 32-bit, and 8MB on 64-bit.

  2. Get rid of DetectShutdownThread
    The main thread spends time waiting for the DetectShutdownThread.
    So why not just run this waiting loop function in the main thread?
    
    One thread-stack less saves 4MB of virtual memory on 32-bit, and 8MB on
    64-bit.
    28ee7e8b8c
  3. laanwj added the label Improvement on Jan 19, 2015
  4. jonasschnelli commented at 3:15 PM on February 4, 2015: contributor

    ACK

  5. laanwj merged this on Feb 9, 2015
  6. laanwj closed this on Feb 9, 2015

  7. laanwj referenced this in commit beff11a3a1 on Feb 9, 2015
  8. MarcoFalke referenced this in commit e84a5f0004 on Apr 15, 2020
  9. sidhujag referenced this in commit 5d8334f126 on Apr 16, 2020
  10. 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-13 18:15 UTC

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