From ad8278513bb01d79c4cdbb376a22fe619bd9186f Mon Sep 17 00:00:00 2001 From: Timur Doumler Date: Tue, 12 Nov 2024 16:33:02 +0000 Subject: [PATCH] Added bytewise_atomic_memcpy, updated seqlock_object accordingly --- include/crill/bytewise_atomic_memcpy.h | 15 +++++++++++++++ include/crill/contracts.h | 8 ++++++++ tests/bytewise_atomic_memcpy_test.cpp | 12 ++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 include/crill/bytewise_atomic_memcpy.h create mode 100644 include/crill/contracts.h create mode 100644 tests/bytewise_atomic_memcpy_test.cpp diff --git a/include/crill/bytewise_atomic_memcpy.h b/include/crill/bytewise_atomic_memcpy.h new file mode 100644 index 0000000..2759ab7 --- /dev/null +++ b/include/crill/bytewise_atomic_memcpy.h @@ -0,0 +1,15 @@ +// crill - the Cross-platform Real-time, I/O, and Low-Latency Library +// Copyright (c) 2022 - Timur Doumler and Fabian Renn-Giles +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) + +#ifndef CRILL_ATOMIC_MEMCPY_H +#define CRILL_ATOMIC_MEMCPY_H + +#include + +namespace crill { + +} + +#endif //CRILL_ATOMIC_MEMCPY_H diff --git a/include/crill/contracts.h b/include/crill/contracts.h new file mode 100644 index 0000000..a7cbc78 --- /dev/null +++ b/include/crill/contracts.h @@ -0,0 +1,8 @@ +// +// Created by Timur Doumler on 12/11/2024. +// + +#ifndef CRILL_CONTRACTS_H +#define CRILL_CONTRACTS_H + +#endif //CRILL_CONTRACTS_H diff --git a/tests/bytewise_atomic_memcpy_test.cpp b/tests/bytewise_atomic_memcpy_test.cpp new file mode 100644 index 0000000..66c0071 --- /dev/null +++ b/tests/bytewise_atomic_memcpy_test.cpp @@ -0,0 +1,12 @@ +// crill - the Cross-platform Real-time, I/O, and Low-Latency Library +// Copyright (c) 2022 - Timur Doumler and Fabian Renn-Giles +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) + +#include +#include + +TEST_CASE("") +{ + +} \ No newline at end of file