diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-11-20 10:14:21 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-11-20 10:14:21 +0100 |
| commit | 3522f49f5ae74fe3ef310fad6fa7e09d65c9c1b8 (patch) | |
| tree | 68e8633d2b91fa23aa813fca57b72ab9158e5bec /src/bitcoin-cli.cpp | |
| parent | Merge pull request #7019 (diff) | |
| download | discoin-3522f49f5ae74fe3ef310fad6fa7e09d65c9c1b8.tar.xz discoin-3522f49f5ae74fe3ef310fad6fa7e09d65c9c1b8.zip | |
http: add Boost 1.49 compatibility
`try_join_for` was introduced in Boost 1.50:
http://www.boost.org/doc/libs/1_50_0/doc/html/thread/thread_management.html#thread.thread_management.thread.try_join_for
1.49 has `timed_join`, one can accomplish the same with:
http://www.boost.org/doc/libs/1_49_0/doc/html/thread/thread_management.html#thread.thread_management.thread.timed_join
However, `timed_join` was deprecated in 1.50. So a conditional is
necessary.
This solution was tested in #7031.
Diffstat (limited to 'src/bitcoin-cli.cpp')
0 files changed, 0 insertions, 0 deletions