utils: Remove boost from time.cpp #17253

pull elichai wants to merge 3 commits into bitcoin:master from elichai:2019-10-boost_sleep_time changing 2 files +22 −4
  1. elichai commented at 2:35 pm on October 25, 2019: contributor

    Hi, I’m trying to slowly replace simple boost usages with C++11. replaced in time.cpp the functions that return time from boost to sltl. and replaced boost::this_thread_sleep* with std::this_thread_sleep_for()

    Bonus: This removes logic from the build system :)

  2. Switched boost time to std::chrono ce658b7983
  3. Add tests for boost time vs std::chrono a1a4e6ab3d
  4. fanquake added the label Refactoring on Oct 25, 2019
  5. elichai renamed this:
    Remove boost from time.cpp
    utils: Remove boost from time.cpp
    on Oct 25, 2019
  6. elichai commented at 2:51 pm on October 25, 2019: contributor
    I guess next i’ll rewrite scheduler.cpp to remove boost from it
  7. laanwj commented at 2:51 pm on October 25, 2019: member
    I’m afraid we can’t do this yet (sorry to be the bearer of bad news again). See #16117.
  8. elichai commented at 2:53 pm on October 25, 2019: contributor

    I’m afraid we can’t do this yet (sorry to be the bearer of bad news again). See #16117.

    :( I’ll drop the commits related to the sleep and leave the scheduler alone I guess?

  9. Add a test for MilliSleep 8e8245ed22
  10. elichai force-pushed on Oct 25, 2019
  11. elichai commented at 3:01 pm on October 25, 2019: contributor
    Oh. it’s the whole thing :(. I guess i’ll close and next time search properly before. sorry.
  12. elichai closed this on Oct 25, 2019

  13. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-07-05 22:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me