std::function<bool(void*, void*, activity::CommImpl*)> match_fun_;
std::function<void(void*)> clean_fun_; // used to free the synchro in case of problem after a detached send
std::function<void(activity::CommImpl*, void*, size_t)> copy_data_fun_; // used to copy data if not default one
std::function<bool(void*, void*, activity::CommImpl*)> match_fun_;
std::function<void(void*)> clean_fun_; // used to free the synchro in case of problem after a detached send
std::function<void(activity::CommImpl*, void*, size_t)> copy_data_fun_; // used to copy data if not default one