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
9

SYNOPSIS

11       #include <qb/qbatomic.h>
12
13       void qb_atomic_pointer_set(
14           volatile void *QB_GNUC_MAY_ALIAS   *atomic,     /* a pointer to a void* */
15           void                               *newval     /* the new value */
16       );
17

PARAMS

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

DESCRIPTION

24       Also acts as a memory barrier.
25

SEE ALSO

27       qb_atomic_int_set(3), qb_atomic_int_compare_and_exchange(3),
28       qb_atomic_int_get(3), qb_atomic_int_add(3), qb_atomic_init(3),
29       qb_atomic_pointer_get(3), qb_atomic_int_exchange_and_add(3),
30       qb_atomic_pointer_compare_and_exchange(3),
31
33       Copyright (C) 2003 Sebastian Wilhelmi
34
35
36
37LIBQB                             2021-11-12          QB_ATOMIC_POINTER_SET(3)
Impressum