ck_pr_store(3)

ck_pr_store3

Atomic volatile store operations

Usage

#include <ck_pr.h>

void

ck_pr_store_ptr(void *target, void *value);

void

ck_pr_store_double(double *target, double value);

void

ck_pr_store_uint(unsigned int *target, unsigned int value);

void

ck_pr_store_int(int *target, int value);

void

ck_pr_store_char(char *target, char value);

void

ck_pr_store_64(uint64_t *target, uint64_t value);

void

ck_pr_store_32(uint32_t *target, uint32_t value);

void

ck_pr_store_16(uint16_t *target, uint16_t value);

void

ck_pr_store_8(uint8_t *target, uint8_t value);

Library

Concurrency Kit (libck, -lck)

Overview

The ck_pr_store(3) family of functions atomically stores the value specified by value into the location pointed to by target. This family of functions always serves as an implicit compiler barrier and is not susceptible to compiler re-ordering.

Return values

This family of functions has no return value.

Releases

5 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9–13

From libck-dev 0.7.2-6 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.