Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Classes | Macros | Functions | Variables
test_mm_sc_drf_01.cpp File Reference
#include <iostream>
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <atomic>
#include <mutex>
#include <condition_variable>
#include <memory>
#include <thread>
#include <pthread.h>
#include <catch2/catch_amalgamated.hpp>
#include <jau/test/catch2_ext.hpp>
#include <jau/ordered_atomic.hpp>
Include dependency graph for test_mm_sc_drf_01.cpp:

Go to the source code of this file.

Classes

class  TestMemModelSCDRF01
 test_mm_sc_drf_01: Testing SC-DRF non-atomic global read and write within a locked mutex critical block. More...
 

Macros

#define CATCH_CONFIG_MAIN
 

Functions

 METHOD_AS_TEST_CASE (TestMemModelSCDRF01::test_list, "Test TestMemModelSCDRF 01- test_list")
 

Variables

static int loops = 10
 

Macro Definition Documentation

◆ CATCH_CONFIG_MAIN

#define CATCH_CONFIG_MAIN

Definition at line 38 of file test_mm_sc_drf_01.cpp.

Function Documentation

◆ METHOD_AS_TEST_CASE()

METHOD_AS_TEST_CASE ( TestMemModelSCDRF01::test_list  ,
"Test TestMemModelSCDRF 01- test_list"   
)

Variable Documentation

◆ loops

int loops = 10
static
Examples
test_mm_sc_drf_01.cpp.

Definition at line 45 of file test_mm_sc_drf_01.cpp.