ardupilot/libraries/AP_HAL/examples
Murilo Belluzzo 641671a366 AP_HAL: Add simple stress test for RingBuffer class
It runs a Producer/Consumer thread pair endless reading and writing a
ByteBuffer. Producer writes a number sequence that is twice the
ByteBuffer size so a given position have a different data on each write
pass. Consumer makes sure that this pattern is not broken and aborts the
program if it is.

It is possible to spawn more pairs by informing a number as argument of
the program.
2017-08-02 15:30:35 -07:00
..
AnalogIn AP_HAL: example fix travis warning 2017-04-13 19:56:16 +01:00
Printf AP_HAL: example fix travis warning 2017-04-13 19:56:16 +01:00
RCInput AP_HAL: example fix travis warning 2017-04-13 19:56:16 +01:00
RCInputToRCOutput AP_HAL: example fix travis warning 2017-04-13 19:56:16 +01:00
RCOutput AP_HAL: example fix travis warning 2017-04-13 19:56:16 +01:00
RCOutput2 AP_HAL: example fix travis warning 2017-04-13 19:56:16 +01:00
RingBuffer AP_HAL: Add simple stress test for RingBuffer class 2017-08-02 15:30:35 -07:00
Storage AP_HAL: correct storage example 2017-07-07 16:18:37 +01:00
UART_test AP_HAL: example fix travis warning 2017-04-13 19:56:16 +01:00