Opened 7 years ago

Closed 7 years ago

#11494 closed Bugs (fixed)

boost::this_thread::yield() is marked as deprecated in the synopsis

Reported by: Matthäus Brandl (brandl.matthaeus@… Owned by: viboes
Milestone: Boost 1.61.0 Component: thread
Version: Boost 1.58.0 Severity: Cosmetic
Keywords: thread yield deprecated Cc:

Description

In http://www.boost.org/doc/libs/1_58_0/doc/html/thread/thread_management.html, the synopsis contains:

namespace boost
{
  namespace this_thread
  {
    void yield() noexcept; // DEPRECATED
  }
}

However only the static member function of boost::thread seems to be deprecated, following the link http://www.boost.org/doc/libs/1_58_0/doc/html/thread/thread_management.html#thread.thread_management.this_thread.yield one finds no hint of deprecation.

Change History (6)

comment:1 by Daniel James, 7 years ago

Component: Documentationthread
Owner: changed from Matias Capeletto to Anthony Williams

comment:2 by viboes, 7 years ago

Owner: changed from Anthony Williams to viboes
Status: newassigned

comment:3 by viboes, 7 years ago

Severity: OptimizationCosmetic

comment:4 by viboes, 7 years ago

You are right. It is not deprecated.

comment:6 by viboes, 7 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.