#include "zend_portability.h"
#include <stdbool.h>
Go to the source code of this file.
|
ZEND_API void | zend_atomic_bool_init (zend_atomic_bool *obj, bool desired) |
|
ZEND_API void | zend_atomic_int_init (zend_atomic_int *obj, int desired) |
|
ZEND_API bool | zend_atomic_bool_exchange (zend_atomic_bool *obj, bool desired) |
|
ZEND_API int | zend_atomic_int_exchange (zend_atomic_int *obj, int desired) |
|
ZEND_API bool | zend_atomic_bool_compare_exchange (zend_atomic_bool *obj, bool *expected, bool desired) |
|
ZEND_API bool | zend_atomic_int_compare_exchange (zend_atomic_int *obj, int *expected, int desired) |
|
ZEND_API void | zend_atomic_bool_store (zend_atomic_bool *obj, bool desired) |
|
ZEND_API void | zend_atomic_int_store (zend_atomic_int *obj, int desired) |
|
ZEND_API bool | zend_atomic_bool_load (const zend_atomic_bool *obj) |
|
ZEND_API int | zend_atomic_int_load (const zend_atomic_int *obj) |
|
◆ HAVE_NO_ATOMICS
◆ ZEND_ATOMIC_BOOL_INIT
#define ZEND_ATOMIC_BOOL_INIT |
( |
| obj, |
|
|
| desired ) |
◆ ZEND_ATOMIC_BOOL_INITIALIZER
#define ZEND_ATOMIC_BOOL_INITIALIZER |
( |
| desired | ) |
|
◆ ZEND_ATOMIC_INT_INIT
#define ZEND_ATOMIC_INT_INIT |
( |
| obj, |
|
|
| desired ) |
◆ ZEND_ATOMIC_INT_INITIALIZER
#define ZEND_ATOMIC_INT_INITIALIZER |
( |
| desired | ) |
|
◆ ZEND_GCC_PREREQ
#define ZEND_GCC_PREREQ |
( |
| x, |
|
|
| y ) |
Value: ((__GNUC__ == (x) && __GNUC_MINOR__ >= (y)) || (__GNUC__ > (x)))
Definition at line 22 of file zend_atomic.h.
◆ zend_atomic_bool
◆ zend_atomic_int
◆ zend_atomic_bool_compare_exchange()
◆ zend_atomic_bool_exchange()
◆ zend_atomic_bool_init()
◆ zend_atomic_bool_load()
◆ zend_atomic_bool_store()
◆ zend_atomic_int_compare_exchange()
◆ zend_atomic_int_exchange()
◆ zend_atomic_int_init()
◆ zend_atomic_int_load()
◆ zend_atomic_int_store()