libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
shared_mem.cpp File Reference
#include "stdafx.h"
#include <boost/test/included/unit_test.hpp>
#include "config.h"
#include "shared_mem_struct.hpp"
#include "core/shared_mem.hpp"
#include <cstdlib>
#include <future>
Include dependency graph for shared_mem.cpp:

Go to the source code of this file.

Classes

struct  create_shm_and_child
 
class  create_shm_and_child::ensure_exits
 

Macros

#define BOOST_TEST_MODULE   libjmmcg_tests
 

Functions

 BOOST_AUTO_TEST_CASE (ctor)
 
 BOOST_AUTO_TEST_CASE (create_shms_shared_another)
 
 BOOST_AUTO_TEST_CASE (verify_mapped_Addr_not_nullptr)
 
 BOOST_AUTO_TEST_CASE (write_word_to_memory_and_sync)
 
 BOOST_AUTO_TEST_CASE (create_shms_shared_another_writes)
 
 BOOST_AUTO_TEST_CASE (create_shm_and_child_in_bg)
 
 BOOST_AUTO_TEST_CASE (create_shm_and_child_controlled_by_thread)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   libjmmcg_tests

Definition at line 21 of file shared_mem.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/7]

BOOST_AUTO_TEST_CASE ( create_shm_and_child_controlled_by_thread  )

Definition at line 130 of file shared_mem.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/7]

BOOST_AUTO_TEST_CASE ( create_shm_and_child_in_bg  )

Definition at line 115 of file shared_mem.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/7]

BOOST_AUTO_TEST_CASE ( create_shms_shared_another  )

Definition at line 77 of file shared_mem.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/7]

BOOST_AUTO_TEST_CASE ( create_shms_shared_another_writes  )

Definition at line 104 of file shared_mem.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/7]

BOOST_AUTO_TEST_CASE ( ctor  )

Definition at line 73 of file shared_mem.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/7]

BOOST_AUTO_TEST_CASE ( verify_mapped_Addr_not_nullptr  )

Definition at line 82 of file shared_mem.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/7]

BOOST_AUTO_TEST_CASE ( write_word_to_memory_and_sync  )

Definition at line 87 of file shared_mem.cpp.