Skip to content

Releases: doodspav/atomics

v1.0.3

03 Jan 12:39
07e994e
Compare
Choose a tag to compare

[1.0.3] [Patch] - 2025-01-03

Fixed:

  • Properly pin patomic version to v0.2.2 even if patomic has a stable
    release (which it now does)

Release v1.0.2

10 Dec 06:44
Compare
Choose a tag to compare

Changed

  • freeze default patomic version to v0.2.2 until patomic has a stable
    release (to allow for breaking changes in devel branch)

Release v1.0.1

15 Nov 18:02
2ce74fe
Compare
Choose a tag to compare

Added

  • Verbosity now obtained from -v/-verbose flags (removed -log-level flag)
  • Added -linker-args flag to user options (with -l as shortcut)

Removed

  • -log-level option

Changed

  • -l is now -linker-args rather than log-level

Fixed:

  • Filled in missing details in setup.cfg for older build systems:
    • Specified build-backend option as setuptools.build_meta
    • Added install_requires and setup_requires
  • cmake_args option in build_patomic command now actually used

Release v1.0.0

10 Nov 16:04
f43c264
Compare
Choose a tag to compare

Added

  • Initial release
  • Implementation is Python wrapper around patomic C library
  • Provides:
    • .: atomic(), atomicview()
    • .: Alignment, CmpxchgResult, MemoryOrder, OpType
    • .: ANY, INTEGRAL, BYTES, INT, UINT
    • .base: Atomic, Atomic{Integral|Bytes|Int|Uint}
    • .view: AtomicView, Atomic{Integral|Bytes|Int|Uint}View
    • .ctx: AtomicViewContext, Atomic{Integral|Bytes|Int|Uint}ViewContext
    • .exc: AlignmentError, MemoryOrderError,
      Unsupported{Width|Operation}Exception
  • Cmpxchg functions return CmpxchgResult[T] (with T in [bytes, int])
  • No testing provided