## Class scoped_thread_id

boost::log::sinks::asynchronous_sink::scoped_thread_id — A scope guard that implements thread ID management.

## Synopsis

    // In header: <boost/log/sinks/async_frontend.hpp>

    // A scope guard that implements thread ID management.

    class scoped_thread_id {
    public:
      // construct/copy/destruct
      scoped_thread_id(frontend_mutex_type &, condition_variable_any &,
                       thread::id &, bool volatile &);
      scoped_thread_id(unique_lock< frontend_mutex_type > &,
                       condition_variable_any &, thread::id &, bool volatile &);
      scoped_thread_id(scoped_thread_id const &);
      scoped_thread_id & operator=(scoped_thread_id const &);
      ~scoped_thread_id();
    };

## Description

### `scoped_thread_id` public construct/copy/destruct

1.     scoped_thread_id(frontend_mutex_type & mut, condition_variable_any & cond,
                        thread::id & tid, bool volatile & sr);

   Initializing constructor.

2.     scoped_thread_id(unique_lock< frontend_mutex_type > & l,
                        condition_variable_any & cond, thread::id & tid,
                        bool volatile & sr);

   Initializing constructor.

3.     scoped_thread_id(scoped_thread_id const &);

4.     scoped_thread_id & operator=(scoped_thread_id const &);

5.     ~scoped_thread_id();

   Destructor.