pymembar 0.0.1__cp314-cp314-macosx_11_0_arm64.whl → 0.0.2__cp314-cp314-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
membar/__init__.py CHANGED
@@ -8,4 +8,4 @@ except ImportError as e:
8
8
 
9
9
  # do NOT alter the following line in any way EXCEPT changing
10
10
  # the version number. no comments, no rename, whatsoever
11
- __version__ = "0.0.1"
11
+ __version__ = "0.0.2"
membar/__init__.pyi ADDED
@@ -0,0 +1,32 @@
1
+ """
2
+ Type stubs for membar module - Memory barrier utilities for Python
3
+ """
4
+
5
+ def wmb() -> None:
6
+ """
7
+ Write memory barrier.
8
+
9
+ Ensures that all write operations issued before this barrier
10
+ are completed before any write operations issued after this barrier.
11
+ """
12
+ ...
13
+
14
+ def rmb() -> None:
15
+ """
16
+ Read memory barrier.
17
+
18
+ Ensures that all read operations issued before this barrier
19
+ are completed before any read operations issued after this barrier.
20
+ """
21
+ ...
22
+
23
+ def fence() -> None:
24
+ """
25
+ Full memory fence.
26
+
27
+ Ensures that all memory operations (both reads and writes) issued before
28
+ this barrier are completed before any memory operations issued after this barrier.
29
+ """
30
+ ...
31
+
32
+ __all__ = ['wmb', 'rmb', 'fence']
Binary file
membar/py.typed ADDED
File without changes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pymembar
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Memory barrier utilities for Python - provides wmb, rmb, and fence operations
5
5
  Author-email: fwkrumm <fwkrumm@github.com>
6
6
  Maintainer-email: fwkrumm <fwkrumm@github.com>
@@ -0,0 +1,9 @@
1
+ membar/__init__.pyi,sha256=glQKrU-Ip7Dktd_o4sADHqcGfpq3VF1K_djueMbTyNI,759
2
+ membar/__init__.py,sha256=0iiqRV-gtAQFLIOdcXVPWfpIfb9wCLpLc6MnyH_TxOs,476
3
+ membar/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ membar/_membar.cpython-314-darwin.so,sha256=5ESmqZgLZ33lRe6s6a9RHyBkdtIxbi-KssL90c0_HPQ,51264
5
+ pymembar-0.0.2.dist-info/RECORD,,
6
+ pymembar-0.0.2.dist-info/WHEEL,sha256=2Id6qreet5t4wZv58bZfijJ58qrc2xkw6OVvWfeqxV0,136
7
+ pymembar-0.0.2.dist-info/top_level.txt,sha256=FTuLb28Ianih6q3VxqZmPeRo7ppIhVkSpLcVkbNrxow,7
8
+ pymembar-0.0.2.dist-info/METADATA,sha256=L4z0m3DJP0pJdoEvnr_6DKrP8pXc-zjTgQpR4EhXJEs,4572
9
+ pymembar-0.0.2.dist-info/licenses/LICENSE.txt,sha256=D5tHuFx3CsUmFQTursu3R7LmOAgCWqlytpquqGKWXdY,1499
@@ -1,7 +0,0 @@
1
- pymembar-0.0.1.dist-info/RECORD,,
2
- pymembar-0.0.1.dist-info/WHEEL,sha256=2Id6qreet5t4wZv58bZfijJ58qrc2xkw6OVvWfeqxV0,136
3
- pymembar-0.0.1.dist-info/top_level.txt,sha256=FTuLb28Ianih6q3VxqZmPeRo7ppIhVkSpLcVkbNrxow,7
4
- pymembar-0.0.1.dist-info/METADATA,sha256=ApsPHkQPQS1OuJzrHhM9gYX2kOkFsnwppAxouYLNoRE,4572
5
- pymembar-0.0.1.dist-info/licenses/LICENSE.txt,sha256=D5tHuFx3CsUmFQTursu3R7LmOAgCWqlytpquqGKWXdY,1499
6
- membar/__init__.py,sha256=wmokudo8AdUH4_AGvTXIgZ4NAeMyf_dvpWSDtYsmYh4,476
7
- membar/_membar.cpython-314-darwin.so,sha256=6QOuVJnUVyel3FY69pa-Hg0k7RH7-jbA1aojNcDs3So,51264