jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Classes | Functions | Variables
test_mm_sc_drf_01.cpp File Reference
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <atomic>
#include <mutex>
#include <condition_variable>
#include <memory>
#include <thread>
#include <pthread.h>
#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...
 

Functions

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

Variables

static int loops = 10
 

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 42 of file test_mm_sc_drf_01.cpp.