APM:Libraries
|
#include <AP_HAL/AP_HAL.h>
#include <condition_variable>
#include <iostream>
#include <mutex>
#include <thread>
#include <AP_HAL/utility/RingBuffer.h>
Go to the source code of this file.
Classes | |
struct | stress_pairs |
Functions | |
static void | consumer_thread (struct stress_pairs *pair) |
static void | producer_thread (struct stress_pairs *pair) |
static void | usage (const char *program) |
int | main (int argc, char const **argv) |
Variables | |
static uint8_t | writer_buf [256] |
mutex | error_mtx |
condition_variable | error_cond |
|
static |
Definition at line 28 of file RingBuffer.cpp.
Referenced by main().
int main | ( | int | argc, |
char const ** | argv | ||
) |
Definition at line 65 of file RingBuffer.cpp.
Referenced by dsm_decode(), and srxl_decode().
|
static |
Definition at line 48 of file RingBuffer.cpp.
Referenced by main().
|
static |
Definition at line 59 of file RingBuffer.cpp.
Referenced by main().
condition_variable error_cond |
Definition at line 26 of file RingBuffer.cpp.
Referenced by consumer_thread(), and main().
mutex error_mtx |
Definition at line 25 of file RingBuffer.cpp.
Referenced by consumer_thread(), and main().
|
static |
Definition at line 23 of file RingBuffer.cpp.
Referenced by consumer_thread(), main(), and producer_thread().