[bitcoin/bitcoin] Use a semaphore to trigger shutdown procedures (#13186)

Very simple cleanup to avoid sleep waiting on the `fShutdownRequested` flag
You can view, comment on, or merge this pull request online at:

https://github.com/bitcoin/bitcoin/pull/13186

— Commit Summary —

* Use a semaphore to trigger shutdown procedures

— File Changes —

M src/bitcoind.cpp (5)
M src/init.cpp (10)
M src/init.h (1)

— Patch Links —

https://github.com/bitcoin/bitcoin/pull/13186.patch
https://github.com/bitcoin/bitcoin/pull/13186.diff

This post was last modified on May 7, 2018, 8:54 pm