Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create timed make_ready_future #795

Closed
hkaiser opened this issue Jul 19, 2013 · 0 comments
Closed

Create timed make_ready_future #795

hkaiser opened this issue Jul 19, 2013 · 0 comments

Comments

@hkaiser
Copy link
Member

hkaiser commented Jul 19, 2013

Create a facility returning a future wrapping a given value which will get ready at a given point in time. This facility should be overloaded for boost::posix_time::ptime, boost::posix_time::time_duration, and the corresponding chrono time_point and time_duration types.

Suggested names would be

hpx::make_ready_future_at(boost::posix_time::ptime const const& at, ...);

template <typename Clock, typename Duration>
hpx::make_ready_future_at(boost::chrono::time_point<Clock, Duration> const& at, ...);

and

hpx::make_ready_future_after(boost::posix_time::time_duration const& d, ...);

template <typename Rep, typename Period>
hpx::make_ready_future_after(boost::chrono::duration<Rep, Period> const& d, ...);
@ghost ghost assigned hkaiser Jul 19, 2013
@hkaiser hkaiser closed this as completed in d5ba0ae Aug 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant