Le 10/10/15 09:38, Mikael Olenfalk a écrit :
On Sat, Oct 10, 2015 at 9:20 AM, Mikael Olenfalk
wrote: On Fri, Oct 9, 2015 at 10:01 PM, Vicente J. Botet Escriba < vicente.botet@wanadoo.fr> wrote:
Anyway, I'm sure that there are a lot of error in the documentation. What is not documented for you?
It was mostly the _PROVIDES_EXECUTORS macro which I couldn't find. I tried to do the following documentation fix: https://github.com/boostorg/thread/pull/70
I had another look and what confuses me is that _PROVIDES_EXECUTORS is never defined anywhere, except in the examples and tests where it is explicitly defined directly before including
. (That fact makes my PR wrong btw)
Is BOOST_THREAD_PROVIDES_EXECUTORS supposed to be defined when using v4?
Hrr, Executors are newer than version 4 and even if they can be considered as an extension, the async()/then() interface change and some compilers don't support the Executor interface. This is why I didn't defined the macro for version 4. Sorry for the confusion. I'll add it as soon as the interface is stable (maybe in BOOST_THREAD_VERSION 5) . Unfortunately it is not yet the case. Don't worry for the PR. I will fix it myself. Thanks for all. Vicente