HomePhabricator

http: add Boost 1.49 compatibility
3522f49f5ae7Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Nov 20 2015, 09:14
deadalnixPushed on May 14 2017, 22:04
Parents
rABC07b770caf3f5: Merge pull request #7019
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABC3522f49f5ae7: http: add Boost 1.49 compatibility (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Nov 20 2015, 09:14