blob: dcb6906659d7060d34dbe75ca171d2e90e012c93 [file] [log] [blame]
#ifndef AOS_TESTING_TEST_SHM_H_
#define AOS_TESTING_TEST_SHM_H_
#include "aos/linux_code/ipc_lib/shared_mem.h"
namespace aos {
namespace testing {
// Manages creating and cleaning up "shared memory" which works within this
// process and any that it fork(2)s.
class TestSharedMemory {
public:
// Calls EnableTestLogging().
TestSharedMemory();
~TestSharedMemory();
private:
struct aos_core global_core_data_;
};
} // namespace testing
} // namespace aos
#endif // AOS_TESTING_TEST_SHM_H_