Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 828791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:46:48+00:00 2026-05-15T03:46:48+00:00

This is really annoying me as I have done it before, about a year

  • 0

This is really annoying me as I have done it before, about a year ago and I cannot for the life of me remember what library it was.

Basically, the problem is that I want to be able to call a method a certain number of times or for a certain period of time at a specified interval.

One example would be I would like to call a method “x” starting from now, 10 times, once every 0.5 seconds. Alternatively, call method “x” starting from now, 10 times, until 5 seconds have passed.

Now I thought I used a boost library for this functionality but I can’t seem to find it now and feeling a bit annoyed. Unfortunately I can’t look at the code again as I’m not in possession of it any more.

Alternatively, I could have dreamt this all up and it could have been proprietary code. Assuming there is nothing out there that does what I would like, what is currently the best way of producing this behaviour? It would need to be high-resolution, up to a millisecond.

It doesn’t matter if it blocks the thread that it is executed from or not.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T03:46:49+00:00Added an answer on May 15, 2026 at 3:46 am

    A combination of boost::this_thread::sleep and time duration found in boost::datetime?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having this really annoying problem on a php-site I am programming and
hey guys having this really simple problem but cant seem to figure out have
I have an ASP.NET website, but this question isn't really about technology, it is
At my company we have a really annoying problem with our linker (ld 2.17).
I'm facing this really annoying problem with QTextStream used for console output. QTextStream cout(stdout,
OK, this is really annoying. I have the (almost) simplest class possible. Two files:
I come to you because I have this really annoying issue. In Xcode, I
This is really annoying me. In Objective-C, I have an Item entity with a
I have a really annoying problem. My app is published in the AppStore. Everytime
I have a really annoying problem with the Google Play filtering. I have an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.