Next: , Previous: , Up: Function ABI Documentation   [Contents][Index]


8.2.20 _gfortran_caf_atomic_define — Atomic variable assignment

Description:

Assign atomically a value to an integer or logical variable.

Syntax:

void _gfortran_caf_atomic_define (caf_token_t token, size_t offset, int image_index, void *value, int *stat, int type, int kind)

Arguments:
tokenintent(in) An opaque pointer identifying the coarray.
offsetBy which amount of bytes the actual data is shifted compared to the base address of the coarray.
image_indexThe ID of the remote image; must be a positive number; zero indicates the current image when used noncoindexed.
valueintent(in) the value to be assigned, passed by reference.
statintent(out) Stores the status STAT= and may be NULL.
typethe data type, i.e. BT_INTEGER (1) or BT_LOGICAL (2).
kindThe kind value (only 4; always int)