1QB_ATOMIC_INT_SET(3)       libqb Programmer's Manual      QB_ATOMIC_INT_SET(3)
2
3
4

NAME

6       qb_atomic_int_set - Sets the value of the integer pointed to by atomic.
7

SYNOPSIS

9       #include <qb/qbatomic.h>
10
11       void qb_atomic_int_set(
12           volatile int32_t QB_GNUC_MAY_ALIAS   *atomic,
13           int32_t                               newval
14       );
15

PARAMS

17       atomic a pointer to an integer
18
19       newval the new value
20

DESCRIPTION

22       Also acts as a memory barrier.
23

SEE ALSO

25       qb_atomic_int_compare_and_exchange(3), qb_atomic_int_get(3),
26       qb_atomic_int_add(3), qb_atomic_init(3), qb_atomic_pointer_get(3),
27       qb_atomic_int_exchange_and_add(3),
28       qb_atomic_pointer_compare_and_exchange(3), qb_atomic_pointer_set(3)
29
31       Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
32
33
34
35LIBQB                             2020-07-30              QB_ATOMIC_INT_SET(3)
Impressum