boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
200 stars 161 forks source link

allow sync policy for future then continuation (fix #111) #189

Closed gureedo closed 6 years ago

gureedo commented 6 years ago

This PR is a proposal for #111 issue. This changes does not break backward compatibility. When appending continuation there are two cases: first if future is ready then continuation will be executed inplace, second future is not ready then continuation will be executed in thread that make this future ready.

viboes commented 6 years ago

Hi, it is too late to merge this before delivering Boost.1.66. I'll take it in account after.