File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ pip install -U ./pyatomix
2121from pyatomix import AtomicInt, AtomicFlag
2222x = AtomicInt(7 ) # initial value of 7
2323x += 1 # now it's 8, this is atomic
24+ y = AtomicFlag(True ) # y == True
2425y = AtomicFlag() # y == False
2526z = y.test_and_set() # z == False, y == True
2627y.clear() # y == False
Original file line number Diff line number Diff line change @@ -125,4 +125,4 @@ class AtomicInt:
125125 ...
126126 def store (self , arg0 : int ) -> None :
127127 ...
128- __version__ : str = '0.1.2 '
128+ __version__ : str = '0.1.3 '
Original file line number Diff line number Diff line change 11from pybind11 .setup_helpers import Pybind11Extension , build_ext
22from setuptools import setup
33
4- __version__ = "0.1.2 "
4+ __version__ = "0.1.3 "
55
66ext_modules = [
77 Pybind11Extension (
Original file line number Diff line number Diff line change 44#define MACRO_STRINGIFY (x ) STRINGIFY(x)
55namespace py = pybind11;
66using namespace pybind11 ::literals;
7- #include < iostream>
87
98class AtomicFlag {
109public:
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ py-modules = ["pyatomix.pyatomix"]
77
88[project ]
99name = " pyatomix"
10- version = " 0.1.2 "
10+ version = " 0.1.3 "
1111maintainers = [{ name = " 0xDEADFED5" , email = " admin@terminoid.com" }]
1212description = " Cross platform atomic int for Python"
1313requires-python = " >=3.7"
@@ -31,7 +31,7 @@ classifiers = [
3131]
3232
3333dependencies = [
34- " atomix_base >= 0.1.2 " ,
34+ " atomix_base >= 0.1.3 " ,
3535]
3636
3737[project .urls ]
You can’t perform that action at this time.
0 commit comments