ttg_data_copy.h
Go to the documentation of this file.
ttg_data_copy_t *& ttg_data_copy_container()
Definition: thread_local.h:14
ttg_data_copy_container_setter(T *ptr)
Definition: ttg_data_copy.h:32
ttg_data_copy_self_t(ttg_data_copy_t *dc)
Definition: ttg_data_copy.h:45
parsec_list_item_t super
Definition: ttg_data_copy.h:43
parsec_task_t * m_next_task
Definition: ttg_data_copy.h:191
bool is_mutable() const
Definition: ttg_data_copy.h:107
static constexpr int mutable_tag
Definition: ttg_data_copy.h:61
parsec_task_t * get_next_task() const
Definition: ttg_data_copy.h:162
ttg_data_copy_t(const ttg_data_copy_t &c)
Definition: ttg_data_copy.h:67
void reset_readers()
Definition: ttg_data_copy.h:133
virtual void * get_ptr()=0
ttg_data_copy_t(ttg_data_copy_t &&c)
Definition: ttg_data_copy.h:75
int increment_readers()
Definition: ttg_data_copy.h:120
ttg_data_copy_t & operator=(const ttg_data_copy_t &c)
Definition: ttg_data_copy.h:95
virtual ~ttg_data_copy_t()=default
int decrement_readers()
Definition: ttg_data_copy.h:143
ttg_data_copy_t & operator=(ttg_data_copy_t &&c)
Definition: ttg_data_copy.h:84
std::atomic< int32_t > m_refs
Definition: ttg_data_copy.h:193
int num_readers() const
Definition: ttg_data_copy.h:155
void set_next_task(parsec_task_t *task)
Definition: ttg_data_copy.h:166
ttg_data_value_copy_t(ttg_data_value_copy_t &&c) noexcept(std::is_nothrow_move_constructible_v< value_type >)
Definition: ttg_data_copy.h:219
virtual ~ttg_data_value_copy_t()=default
requires(std::constructible_from< ValueT, T >) ttg_data_value_copy_t(T &&value)
Definition: ttg_data_copy.h:209
ttg_data_value_copy_t & operator=(const ttg_data_value_copy_t &c) noexcept(std::is_nothrow_copy_assignable_v< value_type >)
Definition: ttg_data_copy.h:250
ttg_data_value_copy_t(const ttg_data_value_copy_t &c) noexcept(std::is_nothrow_copy_constructible_v< value_type >)
Definition: ttg_data_copy.h:229
virtual void * get_ptr() override final
Definition: ttg_data_copy.h:268
ValueT value_type
Definition: ttg_data_copy.h:205
ttg_data_value_copy_t & operator=(ttg_data_value_copy_t &&c) noexcept(std::is_nothrow_move_assignable_v< value_type >)
Definition: ttg_data_copy.h:239
value_type & operator*()
Definition: ttg_data_copy.h:261
Definition: ptr.h:15