Skip to content

Commit

Permalink
Added bytewise_atomic_memcpy, updated seqlock_object accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
timuraudio committed Nov 12, 2024
1 parent bedcf27 commit ad82785
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
15 changes: 15 additions & 0 deletions include/crill/bytewise_atomic_memcpy.h
Original file line number Diff line number Diff line change
@@ -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 <atomic>

namespace crill {

}

#endif //CRILL_ATOMIC_MEMCPY_H
8 changes: 8 additions & 0 deletions include/crill/contracts.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// Created by Timur Doumler on 12/11/2024.
//

#ifndef CRILL_CONTRACTS_H
#define CRILL_CONTRACTS_H

#endif //CRILL_CONTRACTS_H
12 changes: 12 additions & 0 deletions tests/bytewise_atomic_memcpy_test.cpp
Original file line number Diff line number Diff line change
@@ -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 <crill/atomic_memcpy.h>
#include <doctest/doctest.h>

TEST_CASE("")
{

}

0 comments on commit ad82785

Please sign in to comment.