1ck_pr_or(3)              BSD Library Functions Manual              ck_pr_or(3)
2

NAME

4     ck_pr_or_ptr, ck_pr_or_char, ck_pr_or_uint, ck_pr_or_int, ck_pr_or_64,
5     ck_pr_or_32, ck_pr_or_16, ck_pr_or_8 — atomic bitwise-or operations
6

LIBRARY

8     Concurrency Kit (libck, -lck)
9

SYNOPSIS

11     #include <ck_pr.h>
12
13     void
14     ck_pr_or_ptr(void *target, uintptr_t delta);
15
16     void
17     ck_pr_or_char(char *target, char delta);
18
19     void
20     ck_pr_or_uint(unsigned int *target, unsigned int delta);
21
22     void
23     ck_pr_or_int(int *target, int delta);
24
25     void
26     ck_pr_or_64(uint64_t *target, uint64_t delta);
27
28     void
29     ck_pr_or_32(uint32_t *target, uint32_t delta);
30
31     void
32     ck_pr_or_16(uint16_t *target, uint16_t delta);
33
34     void
35     ck_pr_or_8(uint8_t *target, uint8_t delta);
36

DESCRIPTION

38     The ck_pr_or(3) family of functions atomically compute and store the
39     result of a bitwise-or of the value pointed to by target and delta into
40     the value pointed to by target.
41

RETURN VALUES

43     This family of functions does not have a return value.
44

SEE ALSO

46     ck_pr_fence_load(3), ck_pr_fence_load_depends(3), ck_pr_fence_store(3),
47     ck_pr_fence_memory(3), ck_pr_load(3), ck_pr_store(3), ck_pr_fas(3),
48     ck_pr_faa(3), ck_pr_inc(3), ck_pr_dec(3), ck_pr_neg(3), ck_pr_not(3),
49     ck_pr_add(3), ck_pr_sub(3), ck_pr_xor(3), ck_pr_and(3), ck_pr_cas(3),
50     ck_pr_btc(3), ck_pr_bts(3), ck_pr_btr(3)
51
52     Additional information available at http://concurrencykit.org/
53
54                                April 11, 2013
Impressum