Opened 7 years ago

Last modified 6 years ago

#11817 closed Bugs

'sync_queue_is_closed' was not declared in boost/thread/executors/thread_executor.hpp — at Initial Version

Reported by: Xiaoshuang LU <luxiaoshuang@…> Owned by: Anthony Williams
Milestone: Boost 1.60.0 Component: thread
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc:

Description

boost-1.59.0/include/boost/thread/executors/thread_executor.hpp: In member function 'void boost::executors::thread_executor::submit(void (*)())': boost-1.59.0/include/boost/thread/executors/thread_executor.hpp:122:68: error: 'sync_queue_is_closed' was not declared in this scope

if (closed(lk)) BOOST_THROW_EXCEPTION( sync_queue_is_closed() );

boost-1.59.0/include/boost/thread/executors/thread_executor.hpp: In member function 'void boost::executors::thread_executor::submit(Closure&&)': boost-1.59.0/include/boost/thread/executors/thread_executor.hpp:132:68: error: there are no arguments to 'sync_queue_is_closed' that depend on a template parameter, so a declaration of 'sync_queue_is_closed' must be available [-fpermissive]

if (closed(lk)) BOOST_THROW_EXCEPTION( sync_queue_is_closed() );

Change History (0)

Note: See TracTickets for help on using tickets.