Skip to content

Commit ed0302f

Browse files
committed
Update thread_pool.hpp
1 parent 70b190a commit ed0302f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

concurrency/src/network/concurrency/thread_pool.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright 2010 Dean Michael Berris.
22
// Copyright 2012 Google, Inc.
33
// Copyright (c) Glyn Matthews 2012.
4+
// Copyright 2013 Linunix.
45
// Distributed under the Boost Software License, Version 1.0.
56
// (See accompanying file LICENSE_1_0.txt or copy at
67
// http://www.boost.org/LICENSE_1_0.txt)
@@ -18,9 +19,9 @@
1819
namespace network {
1920
namespace concurrency {
2021

21-
typedef std::shared_ptr<boost::asio::io_service> io_service_ptr;
22-
typedef std::shared_ptr<std::vector<std::thread>> worker_threads_ptr;
23-
typedef std::shared_ptr<boost::asio::io_service::work> sentinel_ptr;
22+
using io_service_ptr = std::shared_ptr<boost::asio::io_service>;
23+
using worker_threads_ptr = std::shared_ptr<std::vector<std::thread>>;
24+
using sentinel_pt = std::shared_ptr<boost::asio::io_service::work>;
2425

2526
struct thread_pool_pimpl;
2627

0 commit comments

Comments
 (0)