diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-09-28 23:19:55 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-09-28 23:26:29 +0300 |
commit | f000cdcf0aad9cf58e18bb63094bd8fcef89b372 (patch) | |
tree | bc1f5f1142059b29b9da6834cc80beeb28e4ec54 /src/rpc | |
parent | efa227f5df5f5a9669dec5f1d574cf22d3c0903f (diff) | |
parent | 03a5fe06bd85111ef844a30dcfdf3b317ff74517 (diff) |
Merge bitcoin-core/gui#434: Keep InitExecutor in main gui thread
03a5fe06bd85111ef844a30dcfdf3b317ff74517 qt: Keep InitExecutor in main gui thread (João Barbosa)
Pull request description:
The `InitExecutor` constructor moves the instance to a dedicated thread. This PR changes that by using `GUIUtil::ObjectInvoke` to run the relevant code in that thread.
A possible follow-up is to ditch the dedicated thread and use `QThreadPool` or even `QtConcurrent::run` (if we want to enable that).
ACKs for top commit:
hebasto:
ACK 03a5fe06bd85111ef844a30dcfdf3b317ff74517, tested on Linux Mint 20.2 (Qt 5.12.8).
jarolrod:
ACK 03a5fe06bd85111ef844a30dcfdf3b317ff74517
Tree-SHA512: 8b40300371d4c04efb9913600a06ba4899af0b5f50fdb26ea23ec751df6d3bd52f8bd693a5e8f6a94ebf3790583dc96c6070e6878d247dece62347aa9bd99031
Diffstat (limited to 'src/rpc')
0 files changed, 0 insertions, 0 deletions