Home | History | Annotate | Download | only in detail
      1 //
      2 // detail/task_io_service_thread_info.hpp
      3 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      4 //
      5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
      6 //
      7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
      8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
      9 //
     10 
     11 #ifndef ASIO_DETAIL_TASK_IO_SERVICE_THREAD_INFO_HPP
     12 #define ASIO_DETAIL_TASK_IO_SERVICE_THREAD_INFO_HPP
     13 
     14 
     15 #include "asio/detail/op_queue.hpp"
     16 #include "asio/detail/thread_info_base.hpp"
     17 
     18 #include "asio/detail/push_options.hpp"
     19 
     20 namespace asio {
     21 namespace detail {
     22 
     23 class task_io_service;
     24 class task_io_service_operation;
     25 
     26 struct task_io_service_thread_info : public thread_info_base
     27 {
     28   op_queue<task_io_service_operation> private_op_queue;
     29   long private_outstanding_work;
     30 };
     31 
     32 } // namespace detail
     33 } // namespace asio
     34 
     35 #include "asio/detail/pop_options.hpp"
     36 
     37 #endif // ASIO_DETAIL_TASK_IO_SERVICE_THREAD_INFO_HPP
     38