1 // Copyright (c) 2007-2014 Hartmut Kaiser 2 // 3 // Distributed under the Boost Software License, Version 1.0. (See accompanying 4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 6 /// \file hpx/runtime/runtime_fwd.hpp 7 8 #ifndef HPX_RUNTIME_RUNTIME_FWD_HPP 9 #define HPX_RUNTIME_RUNTIME_FWD_HPP 10 11 #include <hpx/config.hpp> 12 #include <hpx/runtime/threads/thread_data_fwd.hpp> 13 14 namespace hpx 15 { 16 class HPX_API_EXPORT runtime; 17 18 /////////////////////////////////////////////////////////////////////////// 19 class HPX_API_EXPORT runtime_impl; 20 21 /// The function \a get_runtime returns a reference to the (thread 22 /// specific) runtime instance. 23 HPX_API_EXPORT runtime& get_runtime(); 24 HPX_API_EXPORT runtime* get_runtime_ptr(); 25 } 26 27 #endif 28