Table of Contents
qarray_elem - return a pointer to a distributed array element
#include
<qthread/qarray.h>
void *
qarray_elem (const qarray * array, const size_t index);
void *
qarray_elem_nomigrate (const qarray * array, const size_t index);
void
*
qarray_elem_migrate (const qarray * array, const size_t index);
These
functions return a pointer to the index element of the array distributed
array. The qarray_elem_migrate() function will additionally migrate the
calling thread to the shepherd of the specified element.
qarray_create(3)
,
qarray_destroy(3)
, qarray_iter(3)
, qarray_shepof(3)
Table of Contents