[thread] why is 'thread_group' in 'boost/thread/detail'?

as of 1.53 the docs say the 'thread_group' class is included by this instruction: #include <boost/thread/thread_group.hpp> http://www.boost.org/doc/libs/1_53_0/doc/html/thread/thread_management.html#... whereas the actual file is not in the 'boost/thread', but accidentally is in 'boost/thread/detail' is that intentional? -- Pavel P.S. if you notice a grammar mistake or weird phrasing in my message please point it out

Le 03/03/13 16:17, pavel a écrit :
as of 1.53 the docs say the 'thread_group' class is included by this instruction:
#include <boost/thread/thread_group.hpp>
http://www.boost.org/doc/libs/1_53_0/doc/html/thread/thread_management.html#...
whereas the actual file is not in the 'boost/thread', but accidentally is in 'boost/thread/detail'
is that intentional?
I don't know, it was there since the beginning. Please could you fill a ticket, I will rename it to boost/thread/thread_group.hpp Best, Vicente

Am 03.03.2013 18:58, schrieb Vicente J. Botet Escriba:
Le 03/03/13 16:17, pavel a écrit :
as of 1.53 the docs say the 'thread_group' class is included by this instruction:
#include <boost/thread/thread_group.hpp>
http://www.boost.org/doc/libs/1_53_0/doc/html/thread/thread_management.html#...
whereas the actual file is not in the 'boost/thread', but accidentally is in 'boost/thread/detail'
is that intentional?
I don't know, it was there since the beginning. Please could you fill a ticket, I will rename it to
boost/thread/thread_group.hpp
thread/detail/thread_group.hpp is included by thread/thread.hpp, and thread_group.hpp is never mentioned anywhere else in the documentation except in the quoted example. so it might have been a simple documentation error and intended to be part of thread/thread.hpp

Stefan wrote on Sunday, March 3, 2013 at 22:12:42:
Am 03.03.2013 18:58, schrieb Vicente J. Botet Escriba:
Le 03/03/13 16:17, pavel a écrit :
as of 1.53 the docs say the 'thread_group' class is included by this instruction:
#include <boost/thread/thread_group.hpp>
http://www.boost.org/doc/libs/1_53_0/doc/html/thread/thread_management.html#...
whereas the actual file is not in the 'boost/thread', but accidentally is in 'boost/thread/detail'
is that intentional?
I don't know, it was there since the beginning. Please could you fill a ticket, I will rename it to
boost/thread/thread_group.hpp
thread/detail/thread_group.hpp is included by thread/thread.hpp, and thread_group.hpp is never mentioned anywhere else in the documentation except in the quoted example. so it might have been a simple documentation error and intended to be part of thread/thread.hpp
yep, it seems you are right i created a ticket #8237 -- Pavel P.S. if you notice a grammar mistake or weird phrasing in my message please point it out
participants (3)
-
pavel
-
Stefan Strasser
-
Vicente J. Botet Escriba