diff options
| author | MarcoFalke <[email protected]> | 2020-06-09 08:54:52 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-06-09 08:54:57 -0400 |
| commit | 9ad6f14175c19b5d47267c3dd5840c14bad43c83 (patch) | |
| tree | 23af49ae07c02d1150a28256e93d0ba6708d6f90 /src/httpserver.cpp | |
| parent | Merge #19069: refactor: replace pointers by references within tx_verify.{h,cpp} (diff) | |
| parent | refactor: Replace RecursiveMutex with Mutex in warnings.cpp (diff) | |
| download | discoin-9ad6f14175c19b5d47267c3dd5840c14bad43c83.tar.xz discoin-9ad6f14175c19b5d47267c3dd5840c14bad43c83.zip | |
Merge #19220: refactor: Replace RecursiveMutex with Mutex in warnings.cpp
bacbfb61eee6d3c32de3db4dea3f585c7159b643 refactor: Replace RecursiveMutex with Mutex in warnings.cpp (Hennadii Stepanov)
Pull request description:
The functions that could lock this mutex, i.e., `SetMiscWarning()`, `{S,G}etfLargeWorkForkFound()`, `SetfLargeWorkInvalidChainFound()`, `GetWarnings()`, do not call itself recursively, and do not call each other either directly or indirectly. Therefore, the `g_warnings_mutex` could be a non-recursive mutex.
Related to #19180.
ACKs for top commit:
laanwj:
Code review ACK bacbfb61eee6d3c32de3db4dea3f585c7159b643
MarcoFalke:
ACK bacbfb61eee6d3c32de3db4dea3f585c7159b643 , reviewed with -W --word-diff-regex=. 🎿
Tree-SHA512: cc06d3d30e4051115d176dcfbd496c8562a70087369bccde756c1de42d7dc3f415ef20d3d69ad2599c1d0cd4228d604d7564adc17beac7b6ff92b924b8c20d54
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions