|
vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
|
Ringbuffer class header file. More...
#include <cstddef>Go to the source code of this file.
Classes | |
| class | cSoftHdRingbuffer |
| cSoftHdRingbuffer - RingBuffer class More... | |
Macros | |
| #define | atomic_set(ptr, val) __atomic_store_n(ptr, val, __ATOMIC_SEQ_CST) |
| #define | atomic_read(ptr) __atomic_load_n(ptr, __ATOMIC_SEQ_CST) |
| #define | atomic_inc(ptr) __atomic_add_fetch(ptr, 1, __ATOMIC_SEQ_CST) |
| #define | atomic_dec(ptr) __atomic_sub_fetch(ptr, 1, __ATOMIC_SEQ_CST) |
| #define | atomic_add(val, ptr) __atomic_add_fetch(ptr, val, __ATOMIC_SEQ_CST) |
| #define | atomic_sub(val, ptr) __atomic_sub_fetch(ptr, val, __ATOMIC_SEQ_CST) |
Typedefs | |
| typedef volatile int | atomic_t |
| Atomic wrapper macros. | |
Ringbuffer class header file.
AGPLv3
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
Definition in file ringbuffer.h.
| #define atomic_add | ( | val, | |
| ptr | |||
| ) | __atomic_add_fetch(ptr, val, __ATOMIC_SEQ_CST) |
Definition at line 35 of file ringbuffer.h.
| #define atomic_dec | ( | ptr | ) | __atomic_sub_fetch(ptr, 1, __ATOMIC_SEQ_CST) |
Definition at line 34 of file ringbuffer.h.
| #define atomic_inc | ( | ptr | ) | __atomic_add_fetch(ptr, 1, __ATOMIC_SEQ_CST) |
Definition at line 33 of file ringbuffer.h.
| #define atomic_read | ( | ptr | ) | __atomic_load_n(ptr, __ATOMIC_SEQ_CST) |
Definition at line 32 of file ringbuffer.h.
| #define atomic_set | ( | ptr, | |
| val | |||
| ) | __atomic_store_n(ptr, val, __ATOMIC_SEQ_CST) |
Definition at line 31 of file ringbuffer.h.
| #define atomic_sub | ( | val, | |
| ptr | |||
| ) | __atomic_sub_fetch(ptr, val, __ATOMIC_SEQ_CST) |
Definition at line 36 of file ringbuffer.h.
| typedef volatile int atomic_t |