1 //  Copyright (c) 2007-2014 Hartmut Kaiser
2 //  Copyright (c) 2011 Bryce Lelbach
3 //  Copyright (c) 2007 Richard D. Guidry Jr.
4 //
5 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
6 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 
8 #ifndef HPX_NAMING_SPLIT_GID_HPP
9 #define HPX_NAMING_SPLIT_GID_HPP
10 
11 #include <hpx/lcos/future.hpp>
12 #include <hpx/runtime/naming/name.hpp>
13 
14 #include <mutex>
15 
16 namespace hpx { namespace naming { namespace detail
17 {
18     HPX_EXPORT hpx::future<gid_type> split_gid_if_needed(gid_type& id);
19     HPX_EXPORT hpx::future<gid_type> split_gid_if_needed_locked(
20         std::unique_lock<gid_type::mutex_type> &l, gid_type& gid);
21 }}}
22 
23 #endif
24