From 7f7ed0c78e50e926f8b49cb4d9b6e4c22200d33b Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Fri, 22 Aug 2014 13:58:14 -0500 Subject: [PATCH 1/4] Making sure the correct number of threads is registered with AGAS even if hyper-threading is enabled --- hpx/util/runtime_configuration.hpp | 4 +-- src/runtime.cpp | 3 ++- src/runtime/agas/addressing_service.cpp | 5 ++-- src/runtime/agas/big_boot_barrier.cpp | 17 +++++++++--- src/runtime/parcelset/parcelhandler.cpp | 35 ++++++++++++++++++++++++- src/util/runtime_configuration.cpp | 11 ++++---- 6 files changed, 61 insertions(+), 14 deletions(-) diff --git a/hpx/util/runtime_configuration.hpp b/hpx/util/runtime_configuration.hpp index c21d442f7345..b02d140a1ff7 100644 --- a/hpx/util/runtime_configuration.hpp +++ b/hpx/util/runtime_configuration.hpp @@ -54,8 +54,8 @@ namespace hpx { namespace util void set_num_localities(boost::uint32_t); // sequence number of first usable pu - boost::uint32_t get_used_cores() const; - void set_used_cores(boost::uint32_t); + boost::uint32_t get_first_used_core() const; + void set_first_used_core(boost::uint32_t); // Get the AGAS locality to use naming::locality get_agas_locality() const; diff --git a/src/runtime.cpp b/src/runtime.cpp index f9df87e70993..f734b8eb21cb 100644 --- a/src/runtime.cpp +++ b/src/runtime.cpp @@ -743,7 +743,8 @@ namespace hpx // initialize thread affinity settings in the scheduler if (affinity_init_.used_cores_ == 0) { // correct used_cores from config data if appropriate - affinity_init_.used_cores_ = std::size_t(this->get_config().get_used_cores()); + affinity_init_.used_cores_ = std::size_t( + this->get_config().get_first_used_core()); } return static_cast( diff --git a/src/runtime/agas/addressing_service.cpp b/src/runtime/agas/addressing_service.cpp index 02dd0f088169..0d73d0c0df1f 100644 --- a/src/runtime/agas/addressing_service.cpp +++ b/src/runtime/agas/addressing_service.cpp @@ -314,10 +314,11 @@ void addressing_service::launch_bootstrap( // store number of cores used by other processes boost::uint32_t cores_needed = rt.assign_cores(); - boost::uint32_t used_cores = rt.assign_cores( + boost::uint32_t first_used_core = rt.assign_cores( pp.get_locality_name(), cores_needed); + util::runtime_configuration& cfg = rt.get_config(); - cfg.set_used_cores(used_cores); + cfg.set_first_used_core(first_used_core); cfg.set_agas_locality(ini_.get_parcelport_address()); rt.assign_cores(); diff --git a/src/runtime/agas/big_boot_barrier.cpp b/src/runtime/agas/big_boot_barrier.cpp index 2570b2e01f6c..b150e17c5e67 100644 --- a/src/runtime/agas/big_boot_barrier.cpp +++ b/src/runtime/agas/big_boot_barrier.cpp @@ -113,6 +113,7 @@ struct registration_header , boost::uint64_t primary_ns_ptr_ , boost::uint64_t symbol_ns_ptr_ , boost::uint32_t cores_needed_ + , boost::uint32_t num_threads_ , std::string const& hostname_ , naming::gid_type prefix_ = naming::gid_type() ) : @@ -120,6 +121,7 @@ struct registration_header , primary_ns_ptr(primary_ns_ptr_) , symbol_ns_ptr(symbol_ns_ptr_) , cores_needed(cores_needed_) + , num_threads(num_threads_) , hostname(hostname_) , prefix(prefix_) {} @@ -128,6 +130,7 @@ struct registration_header boost::uint64_t primary_ns_ptr; boost::uint64_t symbol_ns_ptr; boost::uint32_t cores_needed; + boost::uint32_t num_threads; std::string hostname; // hostname of locality naming::gid_type prefix; // suggested prefix (optional) @@ -138,6 +141,7 @@ struct registration_header ar & primary_ns_ptr; ar & symbol_ns_ptr; ar & cores_needed; + ar & num_threads; ar & hostname; ar & prefix; } @@ -349,7 +353,7 @@ void register_worker(registration_header const& header) return; } - if (!agas_client.register_locality(header.locality, prefix, header.cores_needed)) + if (!agas_client.register_locality(header.locality, prefix, header.num_threads)) { HPX_THROW_EXCEPTION(internal_server_error , "agas::register_worker" @@ -563,7 +567,7 @@ void notify_worker(notification_header const& header) cfg.set_num_localities(header.num_localities); // store number of used cores by other localities - cfg.set_used_cores(header.used_cores); + cfg.set_first_used_core(header.used_cores); rt.assign_cores(); #if defined(HPX_HAVE_SECURITY) @@ -782,16 +786,22 @@ void big_boot_barrier::wait_hosted(std::string const& locality_name, HPX_ASSERT(0 != symbol_ns_server); runtime& rt = get_runtime(); + // get the number of cores we need for our locality. This respects the // affinity description. Cores that are partially used are counted as well boost::uint32_t cores_needed = rt.assign_cores(); + boost::uint32_t num_threads = + boost::uint32_t(rt.get_config().get_os_thread_count()); naming::gid_type suggested_prefix; #if defined(HPX_HAVE_PARCELPORT_MPI) // if MPI parcelport is enabled we use the MPI rank as the suggested locality_id if (util::mpi_environment::rank() != -1) - suggested_prefix = naming::get_gid_from_locality_id(util::mpi_environment::rank()); + { + suggested_prefix = naming::get_gid_from_locality_id( + util::mpi_environment::rank()); + } #endif // contact the bootstrap AGAS node @@ -800,6 +810,7 @@ void big_boot_barrier::wait_hosted(std::string const& locality_name, , reinterpret_cast(primary_ns_server) , reinterpret_cast(symbol_ns_server) , cores_needed + , num_threads , locality_name , suggested_prefix); diff --git a/src/runtime/parcelset/parcelhandler.cpp b/src/runtime/parcelset/parcelhandler.cpp index 6b6063a70046..141827bce20b 100644 --- a/src/runtime/parcelset/parcelhandler.cpp +++ b/src/runtime/parcelset/parcelhandler.cpp @@ -72,6 +72,36 @@ namespace hpx { namespace parcelset return ""; } + /////////////////////////////////////////////////////////////////////////// + bool connection_type_available(connection_type t) + { + switch(t) { +#if defined(HPX_HAVE_PARCELPORT_TCP) + case connection_tcp: + return true; +#endif +#if defined(HPX_HAVE_PARCELPORT_IPC) + case connection_ipc: + return true; +#endif +#if defined(HPX_HAVE_PARCELPORT_IBVERBS) + case connection_ibverbs: + return true; +#endif +#if defined(HPX_HAVE_PARCELPORT_PORTALS4) + case connection_portals4: + return true; +#endif +#if defined(HPX_HAVE_PARCELPORT_MPI) + case connection_mpi: + return true; +#endif + default: + break; + } + return false; + } + connection_type get_connection_type_from_name(std::string const& t) { if (!std::strcmp(t.c_str(), "tcp")) @@ -192,6 +222,10 @@ namespace hpx { namespace parcelset for(int i = 0; i < connection_type::connection_last; ++i) { + // skip this configuration if the parcelport is available + if (!connection_type_available(connection_type(i))) + continue; + std::pair, bool> pp_ini_defs = parcelport::runtime_configuration(i); std::string name = get_connection_type_name(connection_type(i)); @@ -226,7 +260,6 @@ namespace hpx { namespace parcelset // add the pp specific configuration parameter ini_defs.insert(ini_defs.end(), pp_ini_defs.first.begin(), pp_ini_defs.first.end()); - } return ini_defs; diff --git a/src/util/runtime_configuration.cpp b/src/util/runtime_configuration.cpp index 936e36eafca7..46759bd49eac 100644 --- a/src/util/runtime_configuration.cpp +++ b/src/util/runtime_configuration.cpp @@ -648,25 +648,26 @@ namespace hpx { namespace util } } - boost::uint32_t runtime_configuration::get_used_cores() const + boost::uint32_t runtime_configuration::get_first_used_core() const { if (has_section("hpx")) { util::section const* sec = get_section("hpx"); if (NULL != sec) { return boost::lexical_cast( - sec->get_entry("used_cores", 0)); + sec->get_entry("first_used_core", 0)); } } return 0; } - void runtime_configuration::set_used_cores(boost::uint32_t used_cores) + void runtime_configuration::set_first_used_core( + boost::uint32_t first_used_core) { if (has_section("hpx")) { util::section* sec = get_section("hpx"); if (NULL != sec) { - sec->add_entry("used_cores", - boost::lexical_cast(used_cores)); + sec->add_entry("first_used_core", + boost::lexical_cast(first_used_core)); } } } From 29dd95eb27ab44f5388f9b430681ae53480ae9f4 Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Sat, 23 Aug 2014 15:11:21 -0500 Subject: [PATCH 2/4] Making sure non-existing parcel ports are disabled --- src/runtime/parcelset/parcelhandler.cpp | 61 +++++++++++++------------ 1 file changed, 33 insertions(+), 28 deletions(-) diff --git a/src/runtime/parcelset/parcelhandler.cpp b/src/runtime/parcelset/parcelhandler.cpp index 141827bce20b..c702c9daddfd 100644 --- a/src/runtime/parcelset/parcelhandler.cpp +++ b/src/runtime/parcelset/parcelhandler.cpp @@ -222,40 +222,45 @@ namespace hpx { namespace parcelset for(int i = 0; i < connection_type::connection_last; ++i) { - // skip this configuration if the parcelport is available - if (!connection_type_available(connection_type(i))) - continue; - std::pair, bool> pp_ini_defs = parcelport::runtime_configuration(i); std::string name = get_connection_type_name(connection_type(i)); std::string name_uc = boost::to_upper_copy(name); std::string enable = pp_ini_defs.second ? "1" : "0"; + // Load some defaults - ini_defs += - "[hpx.parcel." + name + "]", - "enable = ${HPX_HAVE_PARCELPORT_" + name_uc + ":" + enable + "}", - "io_pool_size = ${HPX_PARCEL_" + name_uc + "_IO_POOL_SIZE:" - "$[hpx.threadpools.parcel_pool_size]}", - "max_connections = ${HPX_PARCEL_" + name_uc + "_MAX_CONNECTIONS:" - "$[hpx.parcel.max_connections]}", - "max_connections_per_locality = " - "${HPX_PARCEL_" + name_uc + "_MAX_CONNECTIONS_PER_LOCALITY:" - "$[hpx.parcel.max_connections_per_locality]}", - "max_message_size = ${HPX_PARCEL_" + name_uc + - "_MAX_MESSAGE_SIZE:$[hpx.parcel.max_message_size]}", - "array_optimization = ${HPX_PARCEL_" + name_uc + - "_ARRAY_OPTIMIZATION:$[hpx.parcel.array_optimization]}", - "zero_copy_optimization = ${HPX_PARCEL_" + name_uc + - "_ZERO_COPY_OPTIMIZATION:" - "$[hpx.parcel.zero_copy_optimization]}", - "enable_security = ${HPX_PARCEL_" + name_uc + - "_ENABLE_SECURITY:" - "$[hpx.parcel.enable_security]}", - "async_serialization = ${HPX_PARCEL_" + name_uc + - "_ASYNC_SERIALIZATION:" - "$[hpx.parcel.async_serialization]}" - ; + ini_defs += "[hpx.parcel." + name + "]"; + if (!connection_type_available(connection_type(i))) + { + // skip this configuration if the parcelport is not available + ini_defs += "enable = 0"; + } + else + { + ini_defs += + "enable = ${HPX_HAVE_PARCELPORT_" + name_uc + ":" + enable + "}", + "io_pool_size = ${HPX_PARCEL_" + name_uc + "_IO_POOL_SIZE:" + "$[hpx.threadpools.parcel_pool_size]}", + "max_connections = ${HPX_PARCEL_" + name_uc + "_MAX_CONNECTIONS:" + "$[hpx.parcel.max_connections]}", + "max_connections_per_locality = " + "${HPX_PARCEL_" + name_uc + "_MAX_CONNECTIONS_PER_LOCALITY:" + "$[hpx.parcel.max_connections_per_locality]}", + "max_message_size = ${HPX_PARCEL_" + name_uc + + "_MAX_MESSAGE_SIZE:$[hpx.parcel.max_message_size]}", + "array_optimization = ${HPX_PARCEL_" + name_uc + + "_ARRAY_OPTIMIZATION:$[hpx.parcel.array_optimization]}", + "zero_copy_optimization = ${HPX_PARCEL_" + name_uc + + "_ZERO_COPY_OPTIMIZATION:" + "$[hpx.parcel.zero_copy_optimization]}", + "enable_security = ${HPX_PARCEL_" + name_uc + + "_ENABLE_SECURITY:" + "$[hpx.parcel.enable_security]}", + "async_serialization = ${HPX_PARCEL_" + name_uc + + "_ASYNC_SERIALIZATION:" + "$[hpx.parcel.async_serialization]}" + ; + } // add the pp specific configuration parameter ini_defs.insert(ini_defs.end(), From 1a33f6f9560514fe6fa6216aaa81d59e090ad351 Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Sat, 23 Aug 2014 21:41:45 -0500 Subject: [PATCH 3/4] Adding hpx::get_error_state, updating docs etc., adding runtime state to error logging --- docs/hpx.idx | 29 +++++---- docs/manual/exceptions.qbk | 42 ++++++------ examples/quickstart/error_handling.cpp | 4 +- hpx/exception.hpp | 90 +++++++++++++++++++++----- hpx/runtime.hpp | 3 +- src/exception.cpp | 83 ++++++++++++++++++++---- src/runtime.cpp | 23 +++++++ src/util/serialize_exception.cpp | 36 +++++++---- 8 files changed, 231 insertions(+), 79 deletions(-) diff --git a/docs/hpx.idx b/docs/hpx.idx index 254fffd3b297..4a1bc514663d 100644 --- a/docs/hpx.idx +++ b/docs/hpx.idx @@ -154,21 +154,22 @@ throws "" "header\.hpx\.exception_hpp" make_error_code "" "header\.hpx\.exception_hpp" make_success_code "" "header\.hpx\.exception_hpp" -diagnostic_information "" "hpx\.diagnostic_information.*" -get_error_locality_id "" "hpx\.get_error_locality_id.*" -get_error_error "" "hpx\.get_error_error.*" -get_error_host_name "" "hpx\.get_error_host_name.*" -get_error_process_id "" "hpx\.get_error_process_id.*" -get_error_function_name "" "hpx\.get_error_function_name.*" -get_error_file_name "" "hpx\.get_error_file_name.*" -get_error_line_number "" "hpx\.get_error_line_number.*" -get_error_os_thread "" "hpx\.get_error_os_thread.*" -get_error_thread_id "" "hpx\.get_error_thread_id.*" -get_error_thread_description "" "hpx\.get_error_thread_description.*" -get_error_backtrace "" "hpx\.get_error_backtrace.*" +diagnostic_information "" "hpx\.diagnostic_inform.*" +get_error_locality_id "" "hpx\.get_error_localit.*" +get_error "" "hpx\.get_error_id.*" +get_error_host_name "" "hpx\.get_error_ho.*" +get_error_process_id "" "hpx\.get_error_process.*" +get_error_function_name "" "hpx\.get_error_functio.*" +get_error_file_name "" "hpx\.get_error_file_na.*" +get_error_line_number "" "hpx\.get_error_line_nu.*" +get_error_os_thread "" "hpx\.get_error_os_thre.*" +get_error_thread_id "" "hpx\.get_error_thread_.*" +get_error_thread_description "" "hpx\.get_error_thread_.*" +get_error_backtrace "" "hpx\.get_error_backtra.*" get_error_what "" "hpx\.get_error_what.*" get_error_env "" "hpx\.get_error_env.*" get_error_config "" "hpx\.get_error_config.*" +get_error_state "" "hpx\.get_error_state.*" # hpx/error.hpp @@ -226,6 +227,10 @@ bad_plugin_type "" "hpx\.error" filesystem_error "" "hpx\.error" bad_function_call "" "hpx\.error" security_error "" "hpx\.error" +filesystem_error "" "hpx\.error" +bad_function_call "" "hpx\.error" +task_canceled_exception "" "hpx\.error" +task_region_not_active "" "hpx\.error" # hpx/runtime/naming/unmanaged.hpp unmanaged "" "header\.hpx\.runtime\.naming\.unmanaged.*" diff --git a/docs/manual/exceptions.qbk b/docs/manual/exceptions.qbk index 2abe6c929d97..aecc12edba65 100644 --- a/docs/manual/exceptions.qbk +++ b/docs/manual/exceptions.qbk @@ -84,41 +84,41 @@ instance can be used in a very similar way as the retrieves all available diagnostic information from the error code instance as a formatted string. -As for handling exceptions, when working with error codes, under certain +As for handling exceptions, when working with error codes, under certain circumstances it is desireable to output only some of the diagnostics, or to output those using different formatting. For this case, __hpx__ -exposes a set of lower level functions usable with error codes as demonstrated +exposes a set of lower level functions usable with error codes as demonstrated in the following code snippet: [error_handling_diagnostic_elements] For more information please refer to the documentation of -[funcref hpx::get_error_what `hpx::get_error_what()`], -[funcref hpx::get_error_locality_id `hpx::get_error_locality_id()`], -[funcref hpx::get_error_host_name `hpx::get_error_host_name()`], -[funcref hpx::get_error_process_id `hpx::get_error_process_id()`], -[funcref hpx::get_error_function_name `hpx::get_error_function_name()`], -[funcref hpx::get_error_file_name `hpx::get_error_file_name()`], -[funcref hpx::get_error_line_number `hpx::get_error_line_number()`], -[funcref hpx::get_error_os_thread `hpx::get_error_os_thread()`], -[funcref hpx::get_error_thread_id `hpx::get_error_thread_id()`], and -[funcref hpx::get_error_thread_description `hpx::get_error_thread_description()`] -[funcref hpx::get_error_backtrace `hpx::get_error_backtrace()`] -[funcref hpx::get_error_env `hpx::get_error_env()`] -for more details. +[funcref hpx::get_error_what `hpx::get_error_what`], +[funcref hpx::get_error_locality_id `hpx::get_error_locality_id`], +[funcref hpx::get_error_host_name `hpx::get_error_host_name`], +[funcref hpx::get_error_process_id `hpx::get_error_process_id`], +[funcref hpx::get_error_function_name `hpx::get_error_function_name`], +[funcref hpx::get_error_file_name `hpx::get_error_file_name`], +[funcref hpx::get_error_line_number `hpx::get_error_line_number`], +[funcref hpx::get_error_os_thread `hpx::get_error_os_thread`], +[funcref hpx::get_error_thread_id `hpx::get_error_thread_id`], +[funcref hpx::get_error_thread_description `hpx::get_error_thread_description`], +[funcref hpx::get_error_backtrace `hpx::get_error_backtrace`], +[funcref hpx::get_error_env `hpx::get_error_env`], and +[funcref hpx::get_error_state `hpx::get_error_state`]. [heading:lightweight_error_code Lightweight error Codes] -Sometimes it is not desireable to collect all the ambient information about the -error at the point where it happened as this might impose too much overhead for -simple scenarious. In this case, __hpx__ provides a lightweight error code -facility which will hold the error code only. The following snippet demonstrates +Sometimes it is not desireable to collect all the ambient information about the +error at the point where it happened as this might impose too much overhead for +simple scenarious. In this case, __hpx__ provides a lightweight error code +facility which will hold the error code only. The following snippet demonstrates its use: [lightweight_error_handling_diagnostic_information] -All functions which retrieve other diagnostic elements from the -[classref hpx::error_code `hpx::error_code`] will fail if called with a +All functions which retrieve other diagnostic elements from the +[classref hpx::error_code `hpx::error_code`] will fail if called with a lightweight error_code instance. [endsect] [/ Working with Exceptions] diff --git a/examples/quickstart/error_handling.cpp b/examples/quickstart/error_handling.cpp index eda593e3cda1..762963b7021b 100644 --- a/examples/quickstart/error_handling.cpp +++ b/examples/quickstart/error_handling.cpp @@ -4,7 +4,7 @@ // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // -// This example is documented in the Manual under the title "Error Handling" +// This example is documented in the Manual under the title "Error Handling" #include #include #include @@ -63,6 +63,7 @@ int hpx_main() hpx::cout << "{thread-id}: " << std::hex << hpx::get_error_thread_id(e) << "\n"; hpx::cout << "{thread-description}: " << hpx::get_error_thread_description(e) << "\n"; + hpx::cout << "{state}: " << std::hex << hpx::get_error_state(e) << "\n"; hpx::cout << "{stack-trace}: " << hpx::get_error_backtrace(e) << "\n"; hpx::cout << "{env}: " << hpx::get_error_env(e) << "\n"; } @@ -125,6 +126,7 @@ int hpx_main() hpx::cout << "{thread-id}: " << std::hex << hpx::get_error_thread_id(ec) << "\n"; hpx::cout << "{thread-description}: " << hpx::get_error_thread_description(ec) << "\n\n"; + hpx::cout << "{state}: " << std::hex << hpx::get_error_state(ec) << "\n"; hpx::cout << "{stack-trace}: " << hpx::get_error_backtrace(ec) << "\n"; hpx::cout << "{env}: " << hpx::get_error_env(ec) << "\n"; } diff --git a/hpx/exception.hpp b/hpx/exception.hpp index 2de3af0f5310..5a440ffb57c4 100644 --- a/hpx/exception.hpp +++ b/hpx/exception.hpp @@ -681,6 +681,7 @@ namespace hpx struct tag_throw_stacktrace {}; struct tag_throw_env {}; struct tag_throw_config {}; + struct tag_throw_state {}; // Stores the information about the locality id the exception has been // raised on. This information will show up in error messages under the @@ -753,6 +754,11 @@ namespace hpx typedef boost::error_info throw_config; + // Stores the current runtime state. This information will show up in + // error messages under the [state] tag. + typedef boost::error_info + throw_state; + // construct an exception, internal helper template HPX_EXPORT boost::exception_ptr @@ -762,7 +768,8 @@ namespace hpx std::string const& hostname = "", boost::int64_t pid = -1, std::size_t shepherd = ~0, std::size_t thread_id = 0, std::string const& thread_name = "", - std::string const& env = "", std::string const& config = ""); + std::string const& env = "", std::string const& config = "", + std::string const& state = ""); template HPX_EXPORT boost::exception_ptr @@ -832,7 +839,8 @@ namespace hpx /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_thread_description(), \a hpx::get_error(), /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error_what(), \a hpx::get_error_config() + /// \a hpx::get_error_what(), \a hpx::get_error_config(), + /// \a hpx::get_error_state() /// HPX_EXPORT std::string diagnostic_information(hpx::exception const& e); @@ -873,7 +881,7 @@ namespace hpx /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_thread_description(), \a hpx::get_error() /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error_config() + /// \a hpx::get_error_config(), \a hpx::get_error_state() /// HPX_EXPORT std::string get_error_what(hpx::exception const& e); @@ -911,7 +919,8 @@ namespace hpx /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_thread_description(), \a hpx::get_error(), /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error_what(), \a hpx::get_error_config() + /// \a hpx::get_error_what(), \a hpx::get_error_config(), + /// \a hpx::get_error_state() /// HPX_EXPORT boost::uint32_t get_error_locality_id(hpx::exception const& e); @@ -948,7 +957,8 @@ namespace hpx /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_thread_description(), /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error_what(), \a hpx::get_error_config() + /// \a hpx::get_error_what(), \a hpx::get_error_config(), + /// \a hpx::get_error_state() /// HPX_EXPORT error get_error(hpx::exception const& e); @@ -985,7 +995,8 @@ namespace hpx /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_thread_description(), \a hpx::get_error() /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error_what(), \a hpx::get_error_config() + /// \a hpx::get_error_what(), \a hpx::get_error_config(), + /// \a hpx::get_error_state() /// HPX_EXPORT std::string get_error_host_name(hpx::exception const& e); @@ -1023,7 +1034,8 @@ namespace hpx /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_thread_description(), \a hpx::get_error(), /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error_what(), \a hpx::get_error_config() + /// \a hpx::get_error_what(), \a hpx::get_error_config(), + /// \a hpx::get_error_state() /// HPX_EXPORT boost::int64_t get_error_process_id(hpx::exception const& e); @@ -1061,7 +1073,8 @@ namespace hpx /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_thread_description(), \a hpx::get_error(), /// \a hpx::get_error_backtrace(), - /// \a hpx::get_error_what(), \a hpx::get_error_config() + /// \a hpx::get_error_what(), \a hpx::get_error_config(), + /// \a hpx::get_error_state() /// HPX_EXPORT std::string get_error_env(hpx::exception const& e); @@ -1098,7 +1111,8 @@ namespace hpx /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_thread_description(), \a hpx::get_error(), /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error_what(), \a hpx::get_error_config() + /// \a hpx::get_error_what(), \a hpx::get_error_config(), + /// \a hpx::get_error_state() /// HPX_EXPORT std::string get_error_function_name(hpx::exception const& e); @@ -1135,7 +1149,8 @@ namespace hpx /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_thread_description(), \a hpx::get_error(), /// \a hpx::get_error_env(), - /// \a hpx::get_error_what(), \a hpx::get_error_config() + /// \a hpx::get_error_what(), \a hpx::get_error_config(), + /// \a hpx::get_error_state() /// HPX_EXPORT std::string get_error_backtrace(hpx::exception const& e); @@ -1174,7 +1189,8 @@ namespace hpx /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_thread_description(), \a hpx::get_error(), /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error_what(), \a hpx::get_error_config() + /// \a hpx::get_error_what(), \a hpx::get_error_config(), + /// \a hpx::get_error_state() /// HPX_EXPORT std::string get_error_file_name(hpx::exception const& e); @@ -1212,7 +1228,8 @@ namespace hpx /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_thread_description(), \a hpx::get_error(), /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error_what(), \a hpx::get_error_config() + /// \a hpx::get_error_what(), \a hpx::get_error_config(), + /// \a hpx::get_error_state() /// HPX_EXPORT int get_error_line_number(hpx::exception const& e); @@ -1251,7 +1268,8 @@ namespace hpx /// \a hpx::get_error_thread_id(), /// \a hpx::get_error_thread_description(), \a hpx::get_error(), /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error_what(), \a hpx::get_error_config() + /// \a hpx::get_error_what(), \a hpx::get_error_config(), + /// \a hpx::get_error_state() /// HPX_EXPORT std::size_t get_error_os_thread(hpx::exception const& e); @@ -1290,7 +1308,8 @@ namespace hpx /// \a hpx::get_error_os_thread() /// \a hpx::get_error_thread_description(), \a hpx::get_error(), /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error_what(), \a hpx::get_error_config() + /// \a hpx::get_error_what(), \a hpx::get_error_config(), + /// \a hpx::get_error_state() /// HPX_EXPORT std::size_t get_error_thread_id(hpx::exception const& e); @@ -1328,7 +1347,7 @@ namespace hpx /// \a hpx::get_error_file_name(), \a hpx::get_error_line_number(), /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error(), + /// \a hpx::get_error(), \a hpx::get_error_state(), /// \a hpx::get_error_what(), \a hpx::get_error_config() /// HPX_EXPORT std::string get_error_thread_description(hpx::exception const& e); @@ -1367,7 +1386,7 @@ namespace hpx /// \a hpx::get_error_file_name(), \a hpx::get_error_line_number(), /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), - /// \a hpx::get_error(), + /// \a hpx::get_error(), \a hpx::get_error_state() /// \a hpx::get_error_what(), \a hpx::get_error_thread_description() /// HPX_EXPORT std::string get_error_config(hpx::exception const& e); @@ -1380,6 +1399,45 @@ namespace hpx HPX_EXPORT std::string get_error_config(boost::exception_ptr const& e); /// \endcond + /// \brief Return the HPX runtime state information at which the exception + /// was thrown. + /// + /// The function \a hpx::get_error_state can be used to extract the + /// HPX runtime state information element representing the state the + /// runtime system is currently in as stored in the given exception + /// instance. + /// + /// \returns The point runtime state at the point at which the exception + /// was thrown. If the exception instance does not hold + /// this information, the function will return an empty string. + /// + /// \param e The parameter \p e will be inspected for the requested + /// diagnostic information elements which have been stored at + /// the point where the exception was thrown. This parameter + /// can be one of the following types: \a hpx::exception, + /// \a hpx::error_code, \a boost::exception, or + /// \a boost::exception_ptr. + /// + /// \throws std#bad_alloc (if one of the required allocations fails) + /// + /// \see \a hpx::diagnostic_information(), \a hpx::get_error_host_name(), + /// \a hpx::get_error_process_id(), \a hpx::get_error_function_name(), + /// \a hpx::get_error_file_name(), \a hpx::get_error_line_number(), + /// \a hpx::get_error_os_thread(), \a hpx::get_error_thread_id(), + /// \a hpx::get_error_backtrace(), \a hpx::get_error_env(), + /// \a hpx::get_error(), + /// \a hpx::get_error_what(), \a hpx::get_error_thread_description() + /// + HPX_EXPORT std::string get_error_state(hpx::exception const& e); + + /// \copydoc get_error_state(hpx::exception const& e) + HPX_EXPORT std::string get_error_state(hpx::error_code const& e); + + /// \cond NOINTERNAL + HPX_EXPORT std::string get_error_state(boost::exception const& e); + HPX_EXPORT std::string get_error_state(boost::exception_ptr const& e); + /// \endcond + /////////////////////////////////////////////////////////////////////////// // \cond NOINTERNAL inline error_code::error_code(error e, throwmode mode) diff --git a/hpx/runtime.hpp b/hpx/runtime.hpp index 8ec83c70fbfa..44d5381091b8 100644 --- a/hpx/runtime.hpp +++ b/hpx/runtime.hpp @@ -73,7 +73,8 @@ namespace hpx state_running = 4, state_pre_shutdown = 5, state_shutdown = 6, - state_stopped = 7 + state_stopped = 7, + state_last = state_stopped }; state get_state() const { return state_.load(); } diff --git a/src/exception.cpp b/src/exception.cpp index f00eb3b7f962..275f9b65b96b 100644 --- a/src/exception.cpp +++ b/src/exception.cpp @@ -34,6 +34,11 @@ extern char **environ; #endif +namespace hpx +{ + char const* get_runtime_state_name(runtime::state state); +} + namespace hpx { namespace detail { /////////////////////////////////////////////////////////////////////////// @@ -106,7 +111,7 @@ namespace hpx { namespace detail boost::uint32_t node, std::string const& hostname_, boost::int64_t pid_, std::size_t shepherd, std::size_t thread_id, std::string const& thread_name, std::string const& env, - std::string const& config) + std::string const& config, std::string const& state_name) { // create a boost::exception_ptr object encapsulating the Exception to // be thrown and annotate it with all the local information we have @@ -124,12 +129,13 @@ namespace hpx { namespace detail << hpx::detail::throw_file(file) << hpx::detail::throw_line(static_cast(line)) << hpx::detail::throw_env(env) - << hpx::detail::throw_config(config)); + << hpx::detail::throw_config(config) + << hpx::detail::throw_state(state_name)); } catch (...) { return boost::current_exception(); } - + // need this return to silence a warning with icc HPX_ASSERT(false); return boost::exception_ptr(); @@ -152,7 +158,7 @@ namespace hpx { namespace detail catch (...) { return boost::current_exception(); } - + // need this return to silence a warning with icc HPX_ASSERT(false); return boost::exception_ptr(); @@ -169,7 +175,7 @@ namespace hpx { namespace detail catch (...) { return boost::current_exception(); } - + // need this return to silence a warning with icc HPX_ASSERT(false); return boost::exception_ptr(); @@ -198,17 +204,24 @@ namespace hpx { namespace detail if (is_of_lightweight_hpx_category(e)) return construct_lightweight_exception(e, func, file, line); - boost::int64_t pid_ = ::getpid(); + boost::int64_t pid = ::getpid(); std::string back_trace(backtrace()); - std::string hostname_; + std::string state_name("not running"); + std::string hostname; hpx::runtime* rt = get_runtime_ptr(); - if (rt && rt->get_state() >= runtime::state_initialized && - rt->get_state() < runtime::state_stopped) + if (rt) { - util::osstream strm; - strm << get_runtime().here(); - hostname_ = util::osstream_get_string(strm); + runtime::state rts_state = rt->get_state(); + state_name = get_runtime_state_name(rts_state); + + if (rts_state >= runtime::state_initialized && + rts_state < runtime::state_stopped) + { + util::osstream strm; + strm << get_runtime().here(); + hostname = util::osstream_get_string(strm); + } } // if this is not a HPX thread we do not need to query neither for @@ -232,9 +245,10 @@ namespace hpx { namespace detail std::string env(get_execution_environment()); std::string config(configuration_string()); + return construct_exception(e, func, file, line, back_trace, node, - hostname_, pid_, shepherd, reinterpret_cast(thread_id.get()), - thread_name, env, config); + hostname, pid, shepherd, reinterpret_cast(thread_id.get()), + thread_name, env, config, state_name); } template @@ -472,6 +486,11 @@ namespace hpx if (thread_description && !thread_description->empty()) strm << "{thread-description}: " << *thread_description << "\n"; + std::string const* state = + boost::get_error_info(e); + if (line) + strm << "{state}: " << *state << "\n"; + // add full build information strm << full_build_string(); @@ -1023,6 +1042,42 @@ namespace hpx { return get_error_config(detail::access_exception(e)); } + + /// Return the HPX runtime state information at which the exception was + /// thrown. + std::string get_error_state(boost::exception const& e) + { + std::string const* state_info = + boost::get_error_info(e); + if (state_info && !state_info->empty()) + return *state_info; + return std::string(); + } + + std::string get_error_state(boost::exception_ptr const& e) + { + if (!e) return std::string(); + + try { + boost::rethrow_exception(e); + } + catch (boost::exception const& be) { + return get_error_state(be); + } + catch (...) { + return std::string(); + } + } + + std::string get_error_state(hpx::exception const& e) + { + return get_error_state(dynamic_cast(e)); + } + + std::string get_error_state(hpx::error_code const& e) + { + return get_error_state(detail::access_exception(e)); + } } diff --git a/src/runtime.cpp b/src/runtime.cpp index f734b8eb21cb..d980cbbf0655 100644 --- a/src/runtime.cpp +++ b/src/runtime.cpp @@ -173,6 +173,29 @@ namespace hpx return runtime_mode_invalid; } + namespace strings + { + char const* const runtime_state_names[] = + { + "invalid", // -1 + "initialized", // 0 + "pre_startup", // 1 + "startup", // 2 + "pre_main", // 3 + "running", // 4 + "pre_shutdown" // 5 + "shutdown", // 6 + "stopped" // 7 + }; + } + + char const* get_runtime_state_name(runtime::state state) + { + if (state < runtime::state_invalid || state >= runtime::state_last) + return "invalid (value out of bounds)"; + return strings::runtime_state_names[state+1]; + } + #if defined(HPX_HAVE_SECURITY) namespace detail { diff --git a/src/util/serialize_exception.cpp b/src/util/serialize_exception.cpp index 95ac9d67691d..56735f399221 100644 --- a/src/util/serialize_exception.cpp +++ b/src/util/serialize_exception.cpp @@ -45,6 +45,7 @@ namespace boost { namespace serialization int throw_line_ = 0; std::string throw_env_; std::string throw_config_; + std::string throw_state_; // retrieve information related to boost::exception try { @@ -124,6 +125,11 @@ namespace boost { namespace serialization boost::get_error_info(e); if (config_) throw_config_ = *config_; + + std::string const* state_ = + boost::get_error_info(e); + if (state_) + throw_state_ = *state_; } // figure out concrete underlying exception type @@ -196,7 +202,7 @@ namespace boost { namespace serialization ar & type & what & throw_function_ & throw_file_ & throw_line_ & throw_locality_ & throw_hostname_ & throw_pid_ & throw_shepherd_ & throw_thread_id_ & throw_thread_name_ & throw_back_trace_ - & throw_env_ & throw_config_; + & throw_env_ & throw_config_ & throw_state_; if (hpx::util::hpx_exception == type) { ar & err_value; @@ -228,11 +234,12 @@ namespace boost { namespace serialization int throw_line_ = 0; std::string throw_env_; std::string throw_config_; + std::string throw_state_; ar & type & what & throw_function_ & throw_file_ & throw_line_ & throw_locality_ & throw_hostname_ & throw_pid_ & throw_shepherd_ & throw_thread_id_ & throw_thread_name_ & throw_back_trace_ - & throw_env_ & throw_config_; + & throw_env_ & throw_config_ & throw_state_; if (hpx::util::hpx_exception == type) { ar & err_value; @@ -250,7 +257,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_); + throw_env_, throw_config_, throw_state_); break; // standard exceptions @@ -260,7 +267,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_); + throw_env_, throw_config_, throw_state_); break; case hpx::util::std_invalid_argument: @@ -269,7 +276,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_); + throw_env_, throw_config_, throw_state_); break; case hpx::util::std_out_of_range: @@ -278,7 +285,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_); + throw_env_, throw_config_, throw_state_); break; case hpx::util::std_logic_error: @@ -287,7 +294,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_); + throw_env_, throw_config_, throw_state_); break; case hpx::util::std_bad_alloc: @@ -296,7 +303,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_); + throw_env_, throw_config_, throw_state_); break; #ifndef BOOST_NO_TYPEID @@ -306,7 +313,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_); + throw_env_, throw_config_, throw_state_); break; case hpx::util::std_bad_typeid: @@ -314,7 +321,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_); + throw_env_, throw_config_, throw_state_); break; #endif case hpx::util::std_bad_exception: @@ -323,7 +330,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_); + throw_env_, throw_config_, throw_state_); break; // boost exceptions @@ -345,7 +352,7 @@ namespace boost { namespace serialization , throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_); + throw_env_, throw_config_, throw_state_); break; // hpx::exception @@ -356,12 +363,13 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_); + throw_env_, throw_config_, throw_state_); break; // hpx::thread_interrupted case hpx::util::hpx_thread_interrupted_exception: - e = hpx::detail::construct_lightweight_exception(hpx::thread_interrupted()); + e = hpx::detail::construct_lightweight_exception( + hpx::thread_interrupted()); break; } } From 802808c69e430f9631a9ae8414842a88b8cb8940 Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Sun, 24 Aug 2014 21:07:00 -0500 Subject: [PATCH 4/4] Adding info about parcel to exceptions thrown from parcel layer --- hpx/exception.hpp | 12 +- hpx/lcos/packaged_action.hpp | 22 +-- hpx/lcos/packaged_action_constructors.hpp | 8 +- .../packaged_action_constructors_direct.hpp | 4 +- .../packaged_action_constructors_10.hpp | 80 ++++----- .../packaged_action_constructors_15.hpp | 120 ++++++------- .../packaged_action_constructors_20.hpp | 160 +++++++++--------- .../packaged_action_constructors_5.hpp | 40 ++--- ...packaged_action_constructors_direct_10.hpp | 40 ++--- ...packaged_action_constructors_direct_15.hpp | 60 +++---- ...packaged_action_constructors_direct_20.hpp | 80 ++++----- .../packaged_action_constructors_direct_5.hpp | 20 +-- hpx/runtime/agas/addressing_service.hpp | 3 +- hpx/runtime/agas/stubs/primary_namespace.hpp | 3 +- hpx/runtime/applier/apply_callback.hpp | 6 +- .../apply_implementations_callback.hpp | 6 +- .../apply_implementations_callback_10.hpp | 60 +++---- .../apply_implementations_callback_15.hpp | 90 +++++----- .../apply_implementations_callback_20.hpp | 120 ++++++------- .../apply_implementations_callback_5.hpp | 30 ++-- .../parcelset/detail/call_for_each.hpp | 19 ++- hpx/runtime/parcelset/parcel.hpp | 3 + hpx/runtime/parcelset/parcelhandler.hpp | 2 +- hpx/runtime/parcelset/parcelport.hpp | 2 +- hpx/runtime/parcelset/parcelport_impl.hpp | 5 +- .../parcelset/policies/message_handler.hpp | 2 +- src/exception.cpp | 23 ++- src/runtime/agas/addressing_service.cpp | 5 +- .../agas/stubs/primary_namespace_stubs.cpp | 5 +- src/runtime/parcelset/parcel.cpp | 8 + src/runtime/parcelset/parcelhandler.cpp | 15 +- src/util/serialize_exception.cpp | 33 ++-- 32 files changed, 567 insertions(+), 519 deletions(-) diff --git a/hpx/exception.hpp b/hpx/exception.hpp index 5a440ffb57c4..d8e71679547c 100644 --- a/hpx/exception.hpp +++ b/hpx/exception.hpp @@ -164,7 +164,8 @@ namespace hpx get_exception(Exception const& e, std::string const& func = "", std::string const& file = "", - long line = -1); + long line = -1, + std::string const& auxinfo = ""); } /// \endcond @@ -682,6 +683,7 @@ namespace hpx struct tag_throw_env {}; struct tag_throw_config {}; struct tag_throw_state {}; + struct tag_throw_auxinfo {}; // Stores the information about the locality id the exception has been // raised on. This information will show up in error messages under the @@ -759,6 +761,12 @@ namespace hpx typedef boost::error_info throw_state; + // Stores additional auxiliary information (such as information about + // the current parcel). This information will show up in error messages + // under the [auxinfo] tag. + typedef boost::error_info + throw_auxinfo; + // construct an exception, internal helper template HPX_EXPORT boost::exception_ptr @@ -769,7 +777,7 @@ namespace hpx std::size_t shepherd = ~0, std::size_t thread_id = 0, std::string const& thread_name = "", std::string const& env = "", std::string const& config = "", - std::string const& state = ""); + std::string const& state = "", std::string const& auxinfo = ""); template HPX_EXPORT boost::exception_ptr diff --git a/hpx/lcos/packaged_action.hpp b/hpx/lcos/packaged_action.hpp index 7d654291a885..6ff5d36a9a26 100644 --- a/hpx/lcos/packaged_action.hpp +++ b/hpx/lcos/packaged_action.hpp @@ -71,14 +71,14 @@ namespace hpx { namespace lcos static void parcel_write_handler( boost::intrusive_ptr impl, - boost::system::error_code const& ec) + boost::system::error_code const& ec, parcelset::parcel const& p) { // any error in the parcel layer will be stored in the future object if (ec) { boost::exception_ptr exception = hpx::detail::get_exception(hpx::exception(ec), "packaged_action::parcel_write_handler", - __FILE__, __LINE__); + __FILE__, __LINE__, parcelset::dump_parcel(p)); (*impl)->set_exception(exception); } } @@ -106,7 +106,7 @@ namespace hpx { namespace lcos hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1)); + this->impl_, util::placeholders::_1, util::placeholders::_2)); } void apply(BOOST_SCOPED_ENUM(launch) policy, naming::address&& addr, @@ -116,7 +116,7 @@ namespace hpx { namespace lcos hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1)); + this->impl_, util::placeholders::_1, util::placeholders::_2)); } void apply_p(BOOST_SCOPED_ENUM(launch) policy, naming::id_type const& gid, @@ -126,7 +126,7 @@ namespace hpx { namespace lcos hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1)); + this->impl_, util::placeholders::_1, util::placeholders::_2)); } void apply_p(BOOST_SCOPED_ENUM(launch) policy, naming::address&& addr, @@ -137,7 +137,7 @@ namespace hpx { namespace lcos hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1)); + this->impl_, util::placeholders::_1, util::placeholders::_2)); } /// Construct a new \a packaged_action instance. The \a thread @@ -198,14 +198,14 @@ namespace hpx { namespace lcos static void parcel_write_handler( boost::intrusive_ptr impl, - boost::system::error_code const& ec) + boost::system::error_code const& ec, parcelset::parcel const& p) { // any error in the parcel layer will be stored in the future object if (ec) { boost::exception_ptr exception = hpx::detail::get_exception(hpx::exception(ec), "packaged_action::parcel_write_handler", - __FILE__, __LINE__); + __FILE__, __LINE__, parcelset::dump_parcel(p)); (*impl)->set_exception(exception); } } @@ -247,7 +247,8 @@ namespace hpx { namespace lcos hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1)); + this->impl_, util::placeholders::_1, + util::placeholders::_2)); } } @@ -271,7 +272,8 @@ namespace hpx { namespace lcos hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1)); + this->impl_, util::placeholders::_1, + util::placeholders::_2)); } } diff --git a/hpx/lcos/packaged_action_constructors.hpp b/hpx/lcos/packaged_action_constructors.hpp index 4a3fdfd67599..25ef6d1f07ab 100644 --- a/hpx/lcos/packaged_action_constructors.hpp +++ b/hpx/lcos/packaged_action_constructors.hpp @@ -52,7 +52,7 @@ hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), HPX_ENUM_FORWARD_ARGS(N, Arg, arg)); } @@ -64,7 +64,7 @@ hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), HPX_ENUM_FORWARD_ARGS(N, Arg, arg)); } @@ -76,7 +76,7 @@ hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), HPX_ENUM_FORWARD_ARGS(N, Arg, arg)); } @@ -90,7 +90,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), HPX_ENUM_FORWARD_ARGS(N, Arg, arg)); } diff --git a/hpx/lcos/packaged_action_constructors_direct.hpp b/hpx/lcos/packaged_action_constructors_direct.hpp index c7c42da6d717..b5d81fcc3697 100644 --- a/hpx/lcos/packaged_action_constructors_direct.hpp +++ b/hpx/lcos/packaged_action_constructors_direct.hpp @@ -68,7 +68,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), HPX_ENUM_FORWARD_ARGS(N, Arg, arg)); } } @@ -94,7 +94,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), HPX_ENUM_FORWARD_ARGS(N, Arg, arg)); } } diff --git a/hpx/lcos/preprocessed/packaged_action_constructors_10.hpp b/hpx/lcos/preprocessed/packaged_action_constructors_10.hpp index 21890da864a6..a500d4b2deeb 100644 --- a/hpx/lcos/preprocessed/packaged_action_constructors_10.hpp +++ b/hpx/lcos/preprocessed/packaged_action_constructors_10.hpp @@ -15,7 +15,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } template @@ -25,7 +25,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } template @@ -35,7 +35,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } template @@ -47,7 +47,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } @@ -84,7 +84,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } template @@ -94,7 +94,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } template @@ -104,7 +104,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } template @@ -116,7 +116,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } @@ -153,7 +153,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } template @@ -163,7 +163,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } template @@ -173,7 +173,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } template @@ -185,7 +185,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } @@ -222,7 +222,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } template @@ -232,7 +232,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } template @@ -242,7 +242,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } template @@ -254,7 +254,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } @@ -291,7 +291,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } template @@ -301,7 +301,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } template @@ -311,7 +311,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } template @@ -323,7 +323,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } @@ -360,7 +360,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } template @@ -370,7 +370,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } template @@ -380,7 +380,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } template @@ -392,7 +392,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } @@ -429,7 +429,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } template @@ -439,7 +439,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } template @@ -449,7 +449,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } template @@ -461,7 +461,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } @@ -498,7 +498,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } template @@ -508,7 +508,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } template @@ -518,7 +518,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } template @@ -530,7 +530,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } @@ -567,7 +567,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } template @@ -577,7 +577,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } template @@ -587,7 +587,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } template @@ -599,7 +599,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } @@ -636,7 +636,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } template @@ -646,7 +646,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } template @@ -656,7 +656,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } template @@ -668,7 +668,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } diff --git a/hpx/lcos/preprocessed/packaged_action_constructors_15.hpp b/hpx/lcos/preprocessed/packaged_action_constructors_15.hpp index f0259ee4b1e1..ecbe450c7ab4 100644 --- a/hpx/lcos/preprocessed/packaged_action_constructors_15.hpp +++ b/hpx/lcos/preprocessed/packaged_action_constructors_15.hpp @@ -15,7 +15,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } template @@ -25,7 +25,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } template @@ -35,7 +35,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } template @@ -47,7 +47,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } @@ -84,7 +84,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } template @@ -94,7 +94,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } template @@ -104,7 +104,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } template @@ -116,7 +116,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } @@ -153,7 +153,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } template @@ -163,7 +163,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } template @@ -173,7 +173,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } template @@ -185,7 +185,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } @@ -222,7 +222,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } template @@ -232,7 +232,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } template @@ -242,7 +242,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } template @@ -254,7 +254,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } @@ -291,7 +291,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } template @@ -301,7 +301,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } template @@ -311,7 +311,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } template @@ -323,7 +323,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } @@ -360,7 +360,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } template @@ -370,7 +370,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } template @@ -380,7 +380,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } template @@ -392,7 +392,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } @@ -429,7 +429,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } template @@ -439,7 +439,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } template @@ -449,7 +449,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } template @@ -461,7 +461,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } @@ -498,7 +498,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } template @@ -508,7 +508,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } template @@ -518,7 +518,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } template @@ -530,7 +530,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } @@ -567,7 +567,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } template @@ -577,7 +577,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } template @@ -587,7 +587,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } template @@ -599,7 +599,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } @@ -636,7 +636,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } template @@ -646,7 +646,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } template @@ -656,7 +656,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } template @@ -668,7 +668,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } @@ -705,7 +705,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); } template @@ -715,7 +715,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); } template @@ -725,7 +725,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); } template @@ -737,7 +737,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); } @@ -774,7 +774,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); } template @@ -784,7 +784,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); } template @@ -794,7 +794,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); } template @@ -806,7 +806,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); } @@ -843,7 +843,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); } template @@ -853,7 +853,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); } template @@ -863,7 +863,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); } template @@ -875,7 +875,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); } @@ -912,7 +912,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); } template @@ -922,7 +922,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); } template @@ -932,7 +932,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); } template @@ -944,7 +944,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); } @@ -981,7 +981,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); } template @@ -991,7 +991,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); } template @@ -1001,7 +1001,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); } template @@ -1013,7 +1013,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); } diff --git a/hpx/lcos/preprocessed/packaged_action_constructors_20.hpp b/hpx/lcos/preprocessed/packaged_action_constructors_20.hpp index 333d51f90824..e9a8160f1a3a 100644 --- a/hpx/lcos/preprocessed/packaged_action_constructors_20.hpp +++ b/hpx/lcos/preprocessed/packaged_action_constructors_20.hpp @@ -15,7 +15,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } template @@ -25,7 +25,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } template @@ -35,7 +35,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } template @@ -47,7 +47,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } @@ -84,7 +84,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } template @@ -94,7 +94,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } template @@ -104,7 +104,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } template @@ -116,7 +116,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } @@ -153,7 +153,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } template @@ -163,7 +163,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } template @@ -173,7 +173,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } template @@ -185,7 +185,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } @@ -222,7 +222,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } template @@ -232,7 +232,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } template @@ -242,7 +242,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } template @@ -254,7 +254,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } @@ -291,7 +291,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } template @@ -301,7 +301,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } template @@ -311,7 +311,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } template @@ -323,7 +323,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } @@ -360,7 +360,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } template @@ -370,7 +370,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } template @@ -380,7 +380,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } template @@ -392,7 +392,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } @@ -429,7 +429,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } template @@ -439,7 +439,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } template @@ -449,7 +449,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } template @@ -461,7 +461,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } @@ -498,7 +498,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } template @@ -508,7 +508,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } template @@ -518,7 +518,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } template @@ -530,7 +530,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } @@ -567,7 +567,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } template @@ -577,7 +577,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } template @@ -587,7 +587,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } template @@ -599,7 +599,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } @@ -636,7 +636,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } template @@ -646,7 +646,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } template @@ -656,7 +656,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } template @@ -668,7 +668,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } @@ -705,7 +705,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); } template @@ -715,7 +715,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); } template @@ -725,7 +725,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); } template @@ -737,7 +737,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); } @@ -774,7 +774,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); } template @@ -784,7 +784,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); } template @@ -794,7 +794,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); } template @@ -806,7 +806,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); } @@ -843,7 +843,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); } template @@ -853,7 +853,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); } template @@ -863,7 +863,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); } template @@ -875,7 +875,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); } @@ -912,7 +912,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); } template @@ -922,7 +922,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); } template @@ -932,7 +932,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); } template @@ -944,7 +944,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); } @@ -981,7 +981,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); } template @@ -991,7 +991,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); } template @@ -1001,7 +1001,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); } template @@ -1013,7 +1013,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); } @@ -1050,7 +1050,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 )); } template @@ -1060,7 +1060,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 )); } template @@ -1070,7 +1070,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 )); } template @@ -1082,7 +1082,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 )); } @@ -1119,7 +1119,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 )); } template @@ -1129,7 +1129,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 )); } template @@ -1139,7 +1139,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 )); } template @@ -1151,7 +1151,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 )); } @@ -1188,7 +1188,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 )); } template @@ -1198,7 +1198,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 )); } template @@ -1208,7 +1208,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 )); } template @@ -1220,7 +1220,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 )); } @@ -1257,7 +1257,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 )); } template @@ -1267,7 +1267,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 )); } template @@ -1277,7 +1277,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 )); } template @@ -1289,7 +1289,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 )); } @@ -1326,7 +1326,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 ) , std::forward( arg19 )); } template @@ -1336,7 +1336,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 ) , std::forward( arg19 )); } template @@ -1346,7 +1346,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 ) , std::forward( arg19 )); } template @@ -1358,7 +1358,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 ) , std::forward( arg19 )); } diff --git a/hpx/lcos/preprocessed/packaged_action_constructors_5.hpp b/hpx/lcos/preprocessed/packaged_action_constructors_5.hpp index 6670732d04cb..e22eb9ece3df 100644 --- a/hpx/lcos/preprocessed/packaged_action_constructors_5.hpp +++ b/hpx/lcos/preprocessed/packaged_action_constructors_5.hpp @@ -15,7 +15,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } template @@ -25,7 +25,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } template @@ -35,7 +35,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } template @@ -47,7 +47,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } @@ -84,7 +84,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } template @@ -94,7 +94,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } template @@ -104,7 +104,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } template @@ -116,7 +116,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } @@ -153,7 +153,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } template @@ -163,7 +163,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } template @@ -173,7 +173,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } template @@ -185,7 +185,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } @@ -222,7 +222,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } template @@ -232,7 +232,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } template @@ -242,7 +242,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } template @@ -254,7 +254,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } @@ -291,7 +291,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } template @@ -301,7 +301,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_cb(this->get_gid(), std::move(addr), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } template @@ -311,7 +311,7 @@ util::block_profiler_wrapper bp(apply_logger_); hpx::apply_c_p_cb(this->get_gid(), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } template @@ -323,7 +323,7 @@ hpx::apply_c_p_cb(this->get_gid(), std::move(addr), gid, priority, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } diff --git a/hpx/lcos/preprocessed/packaged_action_constructors_direct_10.hpp b/hpx/lcos/preprocessed/packaged_action_constructors_direct_10.hpp index 31034ead7768..c4800a2e26aa 100644 --- a/hpx/lcos/preprocessed/packaged_action_constructors_direct_10.hpp +++ b/hpx/lcos/preprocessed/packaged_action_constructors_direct_10.hpp @@ -28,7 +28,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } } @@ -51,7 +51,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } } @@ -87,7 +87,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } } @@ -110,7 +110,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } } @@ -146,7 +146,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } } @@ -169,7 +169,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } } @@ -205,7 +205,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } } @@ -228,7 +228,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } } @@ -264,7 +264,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } } @@ -287,7 +287,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } } @@ -323,7 +323,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } } @@ -346,7 +346,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } } @@ -382,7 +382,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } } @@ -405,7 +405,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } } @@ -441,7 +441,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } } @@ -464,7 +464,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } } @@ -500,7 +500,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } } @@ -523,7 +523,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } } @@ -559,7 +559,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } } @@ -582,7 +582,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } } diff --git a/hpx/lcos/preprocessed/packaged_action_constructors_direct_15.hpp b/hpx/lcos/preprocessed/packaged_action_constructors_direct_15.hpp index 4d4cb740155d..6f2cba3120b6 100644 --- a/hpx/lcos/preprocessed/packaged_action_constructors_direct_15.hpp +++ b/hpx/lcos/preprocessed/packaged_action_constructors_direct_15.hpp @@ -28,7 +28,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } } @@ -51,7 +51,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } } @@ -87,7 +87,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } } @@ -110,7 +110,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } } @@ -146,7 +146,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } } @@ -169,7 +169,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } } @@ -205,7 +205,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } } @@ -228,7 +228,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } } @@ -264,7 +264,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } } @@ -287,7 +287,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } } @@ -323,7 +323,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } } @@ -346,7 +346,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } } @@ -382,7 +382,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } } @@ -405,7 +405,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } } @@ -441,7 +441,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } } @@ -464,7 +464,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } } @@ -500,7 +500,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } } @@ -523,7 +523,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } } @@ -559,7 +559,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } } @@ -582,7 +582,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } } @@ -618,7 +618,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); } } @@ -641,7 +641,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); } } @@ -677,7 +677,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); } } @@ -700,7 +700,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); } } @@ -736,7 +736,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); } } @@ -759,7 +759,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); } } @@ -795,7 +795,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); } } @@ -818,7 +818,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); } } @@ -854,7 +854,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); } } @@ -877,7 +877,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); } } diff --git a/hpx/lcos/preprocessed/packaged_action_constructors_direct_20.hpp b/hpx/lcos/preprocessed/packaged_action_constructors_direct_20.hpp index b54e4ddee224..3823b8bc7849 100644 --- a/hpx/lcos/preprocessed/packaged_action_constructors_direct_20.hpp +++ b/hpx/lcos/preprocessed/packaged_action_constructors_direct_20.hpp @@ -28,7 +28,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } } @@ -51,7 +51,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } } @@ -87,7 +87,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } } @@ -110,7 +110,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } } @@ -146,7 +146,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } } @@ -169,7 +169,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } } @@ -205,7 +205,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } } @@ -228,7 +228,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } } @@ -264,7 +264,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } } @@ -287,7 +287,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } } @@ -323,7 +323,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } } @@ -346,7 +346,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); } } @@ -382,7 +382,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } } @@ -405,7 +405,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); } } @@ -441,7 +441,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } } @@ -464,7 +464,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); } } @@ -500,7 +500,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } } @@ -523,7 +523,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); } } @@ -559,7 +559,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } } @@ -582,7 +582,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); } } @@ -618,7 +618,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); } } @@ -641,7 +641,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); } } @@ -677,7 +677,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); } } @@ -700,7 +700,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); } } @@ -736,7 +736,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); } } @@ -759,7 +759,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); } } @@ -795,7 +795,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); } } @@ -818,7 +818,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); } } @@ -854,7 +854,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); } } @@ -877,7 +877,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); } } @@ -913,7 +913,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 )); } } @@ -936,7 +936,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 )); } } @@ -972,7 +972,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 )); } } @@ -995,7 +995,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 )); } } @@ -1031,7 +1031,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 )); } } @@ -1054,7 +1054,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 )); } } @@ -1090,7 +1090,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 )); } } @@ -1113,7 +1113,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 )); } } @@ -1149,7 +1149,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 ) , std::forward( arg19 )); } } @@ -1172,7 +1172,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 ) , std::forward( arg19 )); } } diff --git a/hpx/lcos/preprocessed/packaged_action_constructors_direct_5.hpp b/hpx/lcos/preprocessed/packaged_action_constructors_direct_5.hpp index 0bda5410d0a0..b0f029e73385 100644 --- a/hpx/lcos/preprocessed/packaged_action_constructors_direct_5.hpp +++ b/hpx/lcos/preprocessed/packaged_action_constructors_direct_5.hpp @@ -28,7 +28,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } } @@ -51,7 +51,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 )); } } @@ -87,7 +87,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } } @@ -110,7 +110,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 )); } } @@ -146,7 +146,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } } @@ -169,7 +169,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); } } @@ -205,7 +205,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } } @@ -228,7 +228,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); } } @@ -264,7 +264,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } } @@ -287,7 +287,7 @@ hpx::applier::detail::apply_c_cb( std::move(addr), this->get_gid(), gid, util::bind(&packaged_action::parcel_write_handler, - this->impl_, util::placeholders::_1), + this->impl_, util::placeholders::_1, util::placeholders::_2), std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); } } diff --git a/hpx/runtime/agas/addressing_service.hpp b/hpx/runtime/agas/addressing_service.hpp index e49742910ee5..dfcd0efb44df 100644 --- a/hpx/runtime/agas/addressing_service.hpp +++ b/hpx/runtime/agas/addressing_service.hpp @@ -1112,7 +1112,8 @@ struct HPX_EXPORT addressing_service : boost::noncopyable /// destination. void route( parcelset::parcel const& p - , HPX_STD_FUNCTION const& + , HPX_STD_FUNCTION const& ); /// \brief Increment the global reference count for the given id diff --git a/hpx/runtime/agas/stubs/primary_namespace.hpp b/hpx/runtime/agas/stubs/primary_namespace.hpp index 934019aaa874..5e330023c34a 100644 --- a/hpx/runtime/agas/stubs/primary_namespace.hpp +++ b/hpx/runtime/agas/stubs/primary_namespace.hpp @@ -41,7 +41,8 @@ struct HPX_EXPORT primary_namespace static void service_non_blocking( naming::id_type const& gid , request const& req - , HPX_STD_FUNCTION const& f + , HPX_STD_FUNCTION const& f , threads::thread_priority priority = threads::thread_priority_default ); diff --git a/hpx/runtime/applier/apply_callback.hpp b/hpx/runtime/applier/apply_callback.hpp index fc59ed6220cd..43f8e3d24124 100644 --- a/hpx/runtime/applier/apply_callback.hpp +++ b/hpx/runtime/applier/apply_callback.hpp @@ -61,7 +61,7 @@ namespace hpx if (agas::is_local_address_cached(gid, addr)) { bool result = applier::detail::apply_l_p(gid, gid, std::move(addr), priority); // apply locally - cb(boost::system::error_code(), 0); // invoke callback + cb(boost::system::error_code(), parcelset::parcel()); // invoke callback return result; } @@ -134,7 +134,7 @@ namespace hpx if (addr.locality_ == hpx::get_locality()) { bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority); - cb(boost::system::error_code(), 0); // invoke callback + cb(boost::system::error_code(), parcelset::parcel()); // invoke callback return result; } @@ -158,7 +158,7 @@ namespace hpx if (agas::is_local_address_cached(gid, addr)) { bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority); - cb(boost::system::error_code(), 0); // invoke callback + cb(boost::system::error_code(), parcelset::parcel()); // invoke callback return result; } diff --git a/hpx/runtime/applier/apply_implementations_callback.hpp b/hpx/runtime/applier/apply_implementations_callback.hpp index cc9cc610d40d..bec6439c3dea 100644 --- a/hpx/runtime/applier/apply_implementations_callback.hpp +++ b/hpx/runtime/applier/apply_implementations_callback.hpp @@ -101,7 +101,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, HPX_ENUM_FORWARD_ARGS(N, Arg, arg)); - cb(boost::system::error_code(), 0); // invoke callback + cb(boost::system::error_code(), parcelset::parcel()); // invoke callback return result; } @@ -190,7 +190,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, HPX_ENUM_FORWARD_ARGS(N, Arg, arg)); - cb(boost::system::error_code(), 0); // invoke callback + cb(boost::system::error_code(), parcelset::parcel()); // invoke callback return result; } @@ -220,7 +220,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, HPX_ENUM_FORWARD_ARGS(N, Arg, arg)); - cb(boost::system::error_code(), 0); // invoke callback + cb(boost::system::error_code(), parcelset::parcel()); // invoke callback return result; } diff --git a/hpx/runtime/applier/preprocessed/apply_implementations_callback_10.hpp b/hpx/runtime/applier/preprocessed/apply_implementations_callback_10.hpp index 8c1691638341..89c882a49d61 100644 --- a/hpx/runtime/applier/preprocessed/apply_implementations_callback_10.hpp +++ b/hpx/runtime/applier/preprocessed/apply_implementations_callback_10.hpp @@ -60,7 +60,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -142,7 +142,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -169,7 +169,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -347,7 +347,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -429,7 +429,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -456,7 +456,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -634,7 +634,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -716,7 +716,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -743,7 +743,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -921,7 +921,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1003,7 +1003,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1030,7 +1030,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1208,7 +1208,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1290,7 +1290,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1317,7 +1317,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1495,7 +1495,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1577,7 +1577,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1604,7 +1604,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1782,7 +1782,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1864,7 +1864,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1891,7 +1891,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2069,7 +2069,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2151,7 +2151,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2178,7 +2178,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2356,7 +2356,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2438,7 +2438,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2465,7 +2465,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2643,7 +2643,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2725,7 +2725,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2752,7 +2752,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } diff --git a/hpx/runtime/applier/preprocessed/apply_implementations_callback_15.hpp b/hpx/runtime/applier/preprocessed/apply_implementations_callback_15.hpp index b3a4a2962008..32cc17880d33 100644 --- a/hpx/runtime/applier/preprocessed/apply_implementations_callback_15.hpp +++ b/hpx/runtime/applier/preprocessed/apply_implementations_callback_15.hpp @@ -60,7 +60,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -142,7 +142,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -169,7 +169,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -347,7 +347,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -429,7 +429,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -456,7 +456,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -634,7 +634,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -716,7 +716,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -743,7 +743,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -921,7 +921,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1003,7 +1003,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1030,7 +1030,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1208,7 +1208,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1290,7 +1290,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1317,7 +1317,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1495,7 +1495,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1577,7 +1577,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1604,7 +1604,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1782,7 +1782,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1864,7 +1864,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1891,7 +1891,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2069,7 +2069,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2151,7 +2151,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2178,7 +2178,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2356,7 +2356,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2438,7 +2438,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2465,7 +2465,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2643,7 +2643,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2725,7 +2725,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2752,7 +2752,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2930,7 +2930,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3012,7 +3012,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3039,7 +3039,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3217,7 +3217,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3299,7 +3299,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3326,7 +3326,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3504,7 +3504,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3586,7 +3586,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3613,7 +3613,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3791,7 +3791,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3873,7 +3873,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3900,7 +3900,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4078,7 +4078,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4160,7 +4160,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4187,7 +4187,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } diff --git a/hpx/runtime/applier/preprocessed/apply_implementations_callback_20.hpp b/hpx/runtime/applier/preprocessed/apply_implementations_callback_20.hpp index 78ef31b22acc..38be9221c037 100644 --- a/hpx/runtime/applier/preprocessed/apply_implementations_callback_20.hpp +++ b/hpx/runtime/applier/preprocessed/apply_implementations_callback_20.hpp @@ -60,7 +60,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -142,7 +142,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -169,7 +169,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -347,7 +347,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -429,7 +429,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -456,7 +456,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -634,7 +634,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -716,7 +716,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -743,7 +743,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -921,7 +921,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1003,7 +1003,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1030,7 +1030,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1208,7 +1208,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1290,7 +1290,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1317,7 +1317,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1495,7 +1495,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1577,7 +1577,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1604,7 +1604,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1782,7 +1782,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1864,7 +1864,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1891,7 +1891,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2069,7 +2069,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2151,7 +2151,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2178,7 +2178,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2356,7 +2356,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2438,7 +2438,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2465,7 +2465,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2643,7 +2643,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2725,7 +2725,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2752,7 +2752,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -2930,7 +2930,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3012,7 +3012,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3039,7 +3039,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3217,7 +3217,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3299,7 +3299,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3326,7 +3326,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3504,7 +3504,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3586,7 +3586,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3613,7 +3613,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3791,7 +3791,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3873,7 +3873,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -3900,7 +3900,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4078,7 +4078,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4160,7 +4160,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4187,7 +4187,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4365,7 +4365,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4447,7 +4447,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4474,7 +4474,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4652,7 +4652,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4734,7 +4734,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4761,7 +4761,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -4939,7 +4939,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -5021,7 +5021,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -5048,7 +5048,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -5226,7 +5226,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -5308,7 +5308,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -5335,7 +5335,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -5513,7 +5513,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 ) , std::forward( arg19 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -5595,7 +5595,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 ) , std::forward( arg19 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -5622,7 +5622,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 ) , std::forward( arg5 ) , std::forward( arg6 ) , std::forward( arg7 ) , std::forward( arg8 ) , std::forward( arg9 ) , std::forward( arg10 ) , std::forward( arg11 ) , std::forward( arg12 ) , std::forward( arg13 ) , std::forward( arg14 ) , std::forward( arg15 ) , std::forward( arg16 ) , std::forward( arg17 ) , std::forward( arg18 ) , std::forward( arg19 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } diff --git a/hpx/runtime/applier/preprocessed/apply_implementations_callback_5.hpp b/hpx/runtime/applier/preprocessed/apply_implementations_callback_5.hpp index 792a80e765c4..110d8b90cdf4 100644 --- a/hpx/runtime/applier/preprocessed/apply_implementations_callback_5.hpp +++ b/hpx/runtime/applier/preprocessed/apply_implementations_callback_5.hpp @@ -60,7 +60,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -142,7 +142,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -169,7 +169,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -347,7 +347,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -429,7 +429,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -456,7 +456,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -634,7 +634,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -716,7 +716,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -743,7 +743,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -921,7 +921,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1003,7 +1003,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1030,7 +1030,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1208,7 +1208,7 @@ namespace hpx bool result = applier::detail::apply_l_p(gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1290,7 +1290,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } @@ -1317,7 +1317,7 @@ namespace hpx bool result = applier::detail::apply_l_p(c, gid, std::move(addr), priority, std::forward( arg0 ) , std::forward( arg1 ) , std::forward( arg2 ) , std::forward( arg3 ) , std::forward( arg4 )); - cb(boost::system::error_code(), 0); + cb(boost::system::error_code(), parcelset::parcel()); return result; } diff --git a/hpx/runtime/parcelset/detail/call_for_each.hpp b/hpx/runtime/parcelset/detail/call_for_each.hpp index 20d1172c77c3..0fd6a31f55c0 100644 --- a/hpx/runtime/parcelset/detail/call_for_each.hpp +++ b/hpx/runtime/parcelset/detail/call_for_each.hpp @@ -21,18 +21,29 @@ namespace hpx { namespace parcelset typedef std::vector data_type; data_type fv_; + parcelset::parcel p_; - call_for_each(data_type&& fv) - : fv_(std::move(fv)) + call_for_each(data_type&& fv, parcelset::parcel const& p) + : fv_(std::move(fv)), p_(p) {} result_type operator()( boost::system::error_code const& e, - std::size_t bytes_written) const + parcel const& p) const { BOOST_FOREACH(parcelport::write_handler_type f, fv_) { - f(e, bytes_written); + f(e, p); + } + } + + result_type operator()( + boost::system::error_code const& e, + std::size_t) const + { + BOOST_FOREACH(parcelport::write_handler_type f, fv_) + { + f(e, p_); } } }; diff --git a/hpx/runtime/parcelset/parcel.hpp b/hpx/runtime/parcelset/parcel.hpp index 6483fd0fc1ef..426bdf5cd38e 100644 --- a/hpx/runtime/parcelset/parcel.hpp +++ b/hpx/runtime/parcelset/parcel.hpp @@ -756,6 +756,9 @@ namespace hpx { namespace parcelset private: boost::intrusive_ptr data_; }; + + /////////////////////////////////////////////////////////////////////////// + HPX_EXPORT std::string dump_parcel(parcel const& p); }} namespace hpx { namespace traits diff --git a/hpx/runtime/parcelset/parcelhandler.hpp b/hpx/runtime/parcelset/parcelhandler.hpp index 38a14a7ba0c8..3e5c42b23412 100644 --- a/hpx/runtime/parcelset/parcelhandler.hpp +++ b/hpx/runtime/parcelset/parcelhandler.hpp @@ -39,7 +39,7 @@ namespace hpx { namespace parcelset private: // default callback for put_parcel void default_write_handler(boost::system::error_code const&, - std::size_t /*size*/); + parcel const& p); void parcel_sink(parcel const& p); diff --git a/hpx/runtime/parcelset/parcelport.hpp b/hpx/runtime/parcelset/parcelport.hpp index 273b9c48e7a9..9363edfbd8e2 100644 --- a/hpx/runtime/parcelset/parcelport.hpp +++ b/hpx/runtime/parcelset/parcelport.hpp @@ -51,7 +51,7 @@ namespace hpx { namespace parcelset public: typedef HPX_STD_FUNCTION< - void(boost::system::error_code const&, std::size_t) + void(boost::system::error_code const&, parcel const&) > write_handler_type; typedef HPX_STD_FUNCTION< diff --git a/hpx/runtime/parcelset/parcelport_impl.hpp b/hpx/runtime/parcelset/parcelport_impl.hpp index c4869b26b372..598631206400 100644 --- a/hpx/runtime/parcelset/parcelport_impl.hpp +++ b/hpx/runtime/parcelset/parcelport_impl.hpp @@ -304,7 +304,7 @@ namespace hpx { namespace parcelset /////////////////////////////////////////////////////////////////////////// // the code below is needed to bootstrap the parcel layer void early_pending_parcel_handler( - boost::system::error_code const& ec, std::size_t size, parcel const & p) + boost::system::error_code const& ec, parcel const & p) { if (ec) { // all errors during early parcel handling are fatal @@ -335,7 +335,6 @@ namespace hpx { namespace parcelset &parcelport_impl::early_pending_parcel_handler , this , ::_1 - , ::_2 , p ) ); @@ -707,7 +706,7 @@ namespace hpx { namespace parcelset // send them asynchronously sender_connection->async_write( - hpx::parcelset::detail::call_for_each(std::move(handlers)), + hpx::parcelset::detail::call_for_each(std::move(handlers), parcels[0]), boost::bind(&parcelport_impl::send_pending_parcels_trampoline, this, ::_1, ::_2, ::_3)); diff --git a/hpx/runtime/parcelset/policies/message_handler.hpp b/hpx/runtime/parcelset/policies/message_handler.hpp index d15c71bfe303..89120f3f2611 100644 --- a/hpx/runtime/parcelset/policies/message_handler.hpp +++ b/hpx/runtime/parcelset/policies/message_handler.hpp @@ -13,7 +13,7 @@ namespace hpx { namespace parcelset { namespace policies struct message_handler { typedef HPX_STD_FUNCTION< - void(boost::system::error_code const&, std::size_t) + void(boost::system::error_code const&, parcel const&) > write_handler_type; virtual ~message_handler() {} diff --git a/src/exception.cpp b/src/exception.cpp index 275f9b65b96b..3b0f769b8d17 100644 --- a/src/exception.cpp +++ b/src/exception.cpp @@ -108,10 +108,11 @@ namespace hpx { namespace detail HPX_EXPORT boost::exception_ptr construct_exception( Exception const& e, std::string const& func, std::string const& file, long line, std::string const& back_trace, - boost::uint32_t node, std::string const& hostname_, boost::int64_t pid_, + boost::uint32_t node, std::string const& hostname, boost::int64_t pid, std::size_t shepherd, std::size_t thread_id, std::string const& thread_name, std::string const& env, - std::string const& config, std::string const& state_name) + std::string const& config, std::string const& state_name, + std::string const& auxinfo) { // create a boost::exception_ptr object encapsulating the Exception to // be thrown and annotate it with all the local information we have @@ -120,8 +121,8 @@ namespace hpx { namespace detail boost::enable_error_info(e) << hpx::detail::throw_stacktrace(back_trace) << hpx::detail::throw_locality(node) - << hpx::detail::throw_hostname(hostname_) - << hpx::detail::throw_pid(pid_) + << hpx::detail::throw_hostname(hostname) + << hpx::detail::throw_pid(pid) << hpx::detail::throw_shepherd(shepherd) << hpx::detail::throw_thread_id(thread_id) << hpx::detail::throw_thread_name(thread_name) @@ -130,7 +131,8 @@ namespace hpx { namespace detail << hpx::detail::throw_line(static_cast(line)) << hpx::detail::throw_env(env) << hpx::detail::throw_config(config) - << hpx::detail::throw_state(state_name)); + << hpx::detail::throw_state(state_name) + << hpx::detail::throw_auxinfo(auxinfo)); } catch (...) { return boost::current_exception(); @@ -199,7 +201,7 @@ namespace hpx { namespace detail template HPX_EXPORT boost::exception_ptr get_exception(Exception const& e, std::string const& func, - std::string const& file, long line) + std::string const& file, long line, std::string const& auxinfo) { if (is_of_lightweight_hpx_category(e)) return construct_lightweight_exception(e, func, file, line); @@ -261,7 +263,7 @@ namespace hpx { namespace detail /////////////////////////////////////////////////////////////////////////// template HPX_EXPORT boost::exception_ptr get_exception(hpx::exception const&, std::string const&, - std::string const&, long); + std::string const&, long, std::string const&); template HPX_ATTRIBUTE_NORETURN HPX_EXPORT void throw_exception(hpx::exception const&, @@ -488,9 +490,14 @@ namespace hpx std::string const* state = boost::get_error_info(e); - if (line) + if (state) strm << "{state}: " << *state << "\n"; + std::string const* auxinfo = + boost::get_error_info(e); + if (auxinfo) + strm << "{auxinfo}: " << *auxinfo << "\n"; + // add full build information strm << full_build_string(); diff --git a/src/runtime/agas/addressing_service.cpp b/src/runtime/agas/addressing_service.cpp index 0d73d0c0df1f..79f6fedc046c 100644 --- a/src/runtime/agas/addressing_service.cpp +++ b/src/runtime/agas/addressing_service.cpp @@ -1680,7 +1680,8 @@ bool addressing_service::resolve_cached( /////////////////////////////////////////////////////////////////////////////// void addressing_service::route( parcelset::parcel const& p - , HPX_STD_FUNCTION const& f + , HPX_STD_FUNCTION const& f ) { // compose request @@ -1700,7 +1701,7 @@ void addressing_service::route( // route through the local AGAS service instance applier::detail::apply_l_p( target, addr, action_priority_, req); - f(boost::system::error_code(), 0); // invoke callback + f(boost::system::error_code(), parcelset::parcel()); // invoke callback return; } diff --git a/src/runtime/agas/stubs/primary_namespace_stubs.cpp b/src/runtime/agas/stubs/primary_namespace_stubs.cpp index 37884857d706..746eb168e9bb 100644 --- a/src/runtime/agas/stubs/primary_namespace_stubs.cpp +++ b/src/runtime/agas/stubs/primary_namespace_stubs.cpp @@ -58,7 +58,8 @@ template lcos::future void primary_namespace::service_non_blocking( naming::id_type const& gid , request const& req - , HPX_STD_FUNCTION const& f + , HPX_STD_FUNCTION const& f , threads::thread_priority priority ) { @@ -76,7 +77,7 @@ void primary_namespace::service_non_blocking( hpx::apply_p(gid, priority, req); } -lcos::future > +lcos::future > primary_namespace::bulk_service_async( naming::id_type const& gid , std::vector const& reqs diff --git a/src/runtime/parcelset/parcel.cpp b/src/runtime/parcelset/parcel.cpp index ff6f027edee0..11fea0271079 100644 --- a/src/runtime/parcelset/parcel.cpp +++ b/src/runtime/parcelset/parcel.cpp @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -332,5 +333,12 @@ namespace hpx { namespace parcelset } return os; } + + std::string dump_parcel(parcel const& p) + { + util::osstream os; + os << p; + return util::osstream_get_string(os); + } }} diff --git a/src/runtime/parcelset/parcelhandler.cpp b/src/runtime/parcelset/parcelhandler.cpp index c702c9daddfd..04e0a7d4cd85 100644 --- a/src/runtime/parcelset/parcelhandler.cpp +++ b/src/runtime/parcelset/parcelhandler.cpp @@ -140,7 +140,7 @@ namespace hpx { namespace parcelset { wait_for_put_parcel() : sema_(new lcos::local::counting_semaphore) {} - void operator()(boost::system::error_code const&, std::size_t) + void operator()(boost::system::error_code const&, parcel const&) { sema_->signal(); } @@ -606,11 +606,10 @@ namespace hpx { namespace parcelset // until after the data has been reliably sent (which is needed for zero // copy serialization). void parcel_sent_handler(boost::system::error_code const& ec, - std::size_t size, parcelhandler::write_handler_type const& f, - parcel const& p) + parcelhandler::write_handler_type const& f, parcel const& p) { // invoke the original handler - f(ec, size); + f(ec, p); // inform termination detection of a sent message if (!p.does_termination_detection()) @@ -660,9 +659,8 @@ namespace hpx { namespace parcelset if (resolved_locally) { // re-wrap the given parcel-sent handler using util::placeholders::_1; - using util::placeholders::_2; write_handler_type wrapped_f = - util::bind(&detail::parcel_sent_handler, _1, _2, f, p); + util::bind(&detail::parcel_sent_handler, _1, f, p); // dispatch to the message handler which is associated with the // encapsulated action @@ -698,12 +696,13 @@ namespace hpx { namespace parcelset /////////////////////////////////////////////////////////////////////////// // default callback for put_parcel void parcelhandler::default_write_handler( - boost::system::error_code const& ec, std::size_t) + boost::system::error_code const& ec, parcel const& p) { if (ec) { boost::exception_ptr exception = hpx::detail::get_exception(hpx::exception(ec), - "parcelhandler::default_write_handler", __FILE__, __LINE__); + "parcelhandler::default_write_handler", __FILE__, + __LINE__, parcelset::dump_parcel(p)); // store last error for now only mutex_type::scoped_lock l(mtx_); diff --git a/src/util/serialize_exception.cpp b/src/util/serialize_exception.cpp index 56735f399221..dc607a3a5dbd 100644 --- a/src/util/serialize_exception.cpp +++ b/src/util/serialize_exception.cpp @@ -46,6 +46,7 @@ namespace boost { namespace serialization std::string throw_env_; std::string throw_config_; std::string throw_state_; + std::string throw_auxinfo_; // retrieve information related to boost::exception try { @@ -130,6 +131,11 @@ namespace boost { namespace serialization boost::get_error_info(e); if (state_) throw_state_ = *state_; + + std::string const* auxinfo_ = + boost::get_error_info(e); + if (auxinfo_) + throw_auxinfo_ = *auxinfo_; } // figure out concrete underlying exception type @@ -202,7 +208,7 @@ namespace boost { namespace serialization ar & type & what & throw_function_ & throw_file_ & throw_line_ & throw_locality_ & throw_hostname_ & throw_pid_ & throw_shepherd_ & throw_thread_id_ & throw_thread_name_ & throw_back_trace_ - & throw_env_ & throw_config_ & throw_state_; + & throw_env_ & throw_config_ & throw_state_ & throw_auxinfo_; if (hpx::util::hpx_exception == type) { ar & err_value; @@ -235,11 +241,12 @@ namespace boost { namespace serialization std::string throw_env_; std::string throw_config_; std::string throw_state_; + std::string throw_auxinfo_; ar & type & what & throw_function_ & throw_file_ & throw_line_ & throw_locality_ & throw_hostname_ & throw_pid_ & throw_shepherd_ & throw_thread_id_ & throw_thread_name_ & throw_back_trace_ - & throw_env_ & throw_config_ & throw_state_; + & throw_env_ & throw_config_ & throw_state_ & throw_auxinfo_; if (hpx::util::hpx_exception == type) { ar & err_value; @@ -257,7 +264,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_, throw_state_); + throw_env_, throw_config_, throw_state_, throw_auxinfo_); break; // standard exceptions @@ -267,7 +274,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_, throw_state_); + throw_env_, throw_config_, throw_state_, throw_auxinfo_); break; case hpx::util::std_invalid_argument: @@ -276,7 +283,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_, throw_state_); + throw_env_, throw_config_, throw_state_, throw_auxinfo_); break; case hpx::util::std_out_of_range: @@ -285,7 +292,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_, throw_state_); + throw_env_, throw_config_, throw_state_, throw_auxinfo_); break; case hpx::util::std_logic_error: @@ -294,7 +301,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_, throw_state_); + throw_env_, throw_config_, throw_state_, throw_auxinfo_); break; case hpx::util::std_bad_alloc: @@ -303,7 +310,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_, throw_state_); + throw_env_, throw_config_, throw_state_, throw_auxinfo_); break; #ifndef BOOST_NO_TYPEID @@ -313,7 +320,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_, throw_state_); + throw_env_, throw_config_, throw_state_, throw_auxinfo_); break; case hpx::util::std_bad_typeid: @@ -321,7 +328,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_, throw_state_); + throw_env_, throw_config_, throw_state_, throw_auxinfo_); break; #endif case hpx::util::std_bad_exception: @@ -330,7 +337,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_, throw_state_); + throw_env_, throw_config_, throw_state_, throw_auxinfo_); break; // boost exceptions @@ -352,7 +359,7 @@ namespace boost { namespace serialization , throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_, throw_state_); + throw_env_, throw_config_, throw_state_, throw_auxinfo_); break; // hpx::exception @@ -363,7 +370,7 @@ namespace boost { namespace serialization throw_function_, throw_file_, throw_line_, throw_back_trace_, throw_locality_, throw_hostname_, throw_pid_, throw_shepherd_, throw_thread_id_, throw_thread_name_, - throw_env_, throw_config_, throw_state_); + throw_env_, throw_config_, throw_state_, throw_auxinfo_); break; // hpx::thread_interrupted