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

NAME

6       qb_atomic_pointer_set  -  Sets  the  value of the pointer pointed to by
7       atomic.
8

SYNOPSIS

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

PARAMS

18       atomic a pointer to a void*
19
20       newval the new value
21

DESCRIPTION

23       Also acts as a memory barrier.
24

SEE ALSO

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