aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorPatrick Strateman <[email protected]>2019-06-21 13:27:00 -0400
committerPatrick Strateman <[email protected]>2019-06-23 20:51:02 -0400
commit3b9bf0eb0e0d69f112ce905078018d8351c73e26 (patch)
tree5c2511317309107e9851edde11690aeaf37802f2 /src/httpserver.cpp
parentMerge #16256: doc: remove orphaned header in developer notes (diff)
downloaddiscoin-3b9bf0eb0e0d69f112ce905078018d8351c73e26.tar.xz
discoin-3b9bf0eb0e0d69f112ce905078018d8351c73e26.zip
rpc: Allow shutdown while in generateblocks
By checking the shutdown flag every loop we can use the entire nonce space instead of breaking every 16 bits to check the shutdown flag. This has been possible since the shutdown flag was switched to an atomic, before that change it was controlled by a condition variable and lock.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions