Skip to content

Commit

Permalink
GHI #32 Add basic opsigs for ops/transaction.h
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed May 8, 2024
1 parent 073138a commit 95a10bb
Show file tree
Hide file tree
Showing 5 changed files with 487 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ target_sources(
include/patomic/types/options.h
include/patomic/types/transaction.h
# include/types/ops
include/patomic/types/ops/implicit.h
include/patomic/types/ops/explicit.h
include/patomic/types/ops/implicit.h
include/patomic/types/ops/transaction.h
)

# add /src files to target
Expand Down
3 changes: 2 additions & 1 deletion include/patomic/types/ops.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#ifndef PATOMIC_OPS_H
#define PATOMIC_OPS_H

#include "ops/implicit.h"
#include "ops/explicit.h"
#include "ops/implicit.h"
#include "ops/transaction.h"

#endif /* PATOMIC_OPS_H */
2 changes: 1 addition & 1 deletion include/patomic/types/ops/explicit.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ typedef int (* patomic_opsig_explicit_cmpxchg_t) (
* @addtogroup ops.explicit
*
* @brief
* Function signature for an atomic bit test operation wth explicit memory
* Function signature for an atomic bit test operation with explicit memory
* order.
*
* @details
Expand Down
2 changes: 1 addition & 1 deletion include/patomic/types/ops/implicit.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ typedef int (* patomic_opsig_cmpxchg_t) (
* @addtogroup ops.implicit
*
* @brief
* Function signature for an atomic bit test operation wth implicit memory
* Function signature for an atomic bit test operation with implicit memory
* order.
*
* @details
Expand Down
Loading

0 comments on commit 95a10bb

Please sign in to comment.