|
Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
|
#include <sched.h>#include <stdint.h>#include <serene/rt/fiber/thread.h>#include <serene/rt/impl/spsc_ring.h>#include "acutest.h"#include "base.h"Go to the source code of this file.
Data Structures | |
| struct | spsc_pair |
| struct | spsc_producer_arg |
Macros | |
| #define | SPSC_RING_TESTS(X) |
Typedefs | |
| typedef struct spsc_pair | spsc_pair |
| typedef struct spsc_producer_arg | spsc_producer_arg |
Functions | |
| static void | test_spsc_ring_make_valid () |
| static void | test_spsc_ring_make_oor () |
| static void | test_spsc_ring_fill_drain () |
| static void | test_spsc_ring_elem_bytes () |
| static void | spsc_producer (void *p) |
| static void | test_spsc_ring_spsc_stress () |
| #define SPSC_RING_TESTS | ( | X | ) |
Definition at line 30 of file spsc_ring_tests.h.
| typedef struct spsc_pair spsc_pair |
| typedef struct spsc_producer_arg spsc_producer_arg |
|
static |
Definition at line 142 of file spsc_ring_tests.h.
|
static |
Definition at line 119 of file spsc_ring_tests.h.
|
static |
Definition at line 77 of file spsc_ring_tests.h.
|
static |
Definition at line 57 of file spsc_ring_tests.h.
|
static |
Definition at line 39 of file spsc_ring_tests.h.
|
static |
Definition at line 156 of file spsc_ring_tests.h.