py314-atomiclong (python/py-atomiclong) Updated: 2 days, 15 hours ago Add to my watchlist

increment numbers, atomically, in python

Sometimes you need to increment some numbers, atomically, in python. AtomicLong was born out of the need for fast thread-safe counters in python. It uses CFFI to bind GCC's Atomic Builtins. Its value is a C long which can be incremented, decremented, and set atomically. It is inspired by Java's java.util.concurrent.atomic.AtomicLong.

Version: 0.1.1 License: MIT GitHub
Reset

22 build(s) found
Builder Build Number Start Time Elapsed Time Watcher Build Status
14.arm64 72004 2026-03-01 3:14:54 0:00:14 28248 build successful
11.arm64 132820 2026-02-28 11:10:58 0:00:14 51165 build successful
13 104573 2026-02-28 9:06:23 0:00:31 40357 build successful
26.arm64 29140 2026-02-28 4:52:08 0:00:16 5027 build successful
14 76923 2026-02-28 4:44:03 0:00:28 28608 build successful
15.arm64 37979 2026-02-28 4:42:21 0:00:14 15294 build successful
10.6.x86_64 263344 2026-02-27 18:53:24 0:01:25 78079 build successful
10.15 229486 2026-02-27 18:52:23 0:01:17 75788 build successful
11 202246 2026-02-27 18:52:16 0:01:14 65752 build successful
12 151622 2026-02-27 18:51:38 0:01:05 54673 build successful
10.6 225540 2026-02-27 18:51:30 0:01:46 78011 build successful
10.11 313575 2026-02-27 18:50:22 0:00:50 105350 build successful
10.14 252568 2026-02-27 18:50:22 0:00:56 86663 build successful
10.12 323258 2026-02-27 18:49:54 0:00:41 104072 build successful
10.13 279265 2026-02-27 18:47:16 0:00:47 96033 build successful
10.8 229936 2026-02-27 18:47:16 0:00:41 75680 build successful
10.7 245415 2026-02-27 18:47:15 0:02:07 77653 build successful
10.9 330629 2026-02-27 18:46:58 0:00:42 104879 build successful
10.10 322553 2026-02-27 18:44:38 0:00:46 105201 build successful
13.arm64 98772 2026-02-27 18:42:13 0:00:29 40154 build successful
12.arm64 161208 2026-02-27 18:41:51 0:00:33 54371 build successful
15 50290 2026-02-27 18:41:50 0:00:32 16097 build successful