Include/cpython/pyatomic

Source   Edit  

Consts

SingleThread = false
Source   Edit  

Procs

proc Py_atomic_compare_exchange[T: AtomType](obj, expected: ptr T; desired: T): bool {.
    inline.}
Source   Edit  
proc Py_atomic_loadRELAXED[T: AtomType | SomeFloat](obj: ptr T): T {.inline.}
Source   Edit  
proc Py_atomic_loadRELAXED[T: ref](obj: ptr T): T {.inline.}
Source   Edit  
proc Py_atomic_loadSEQ_CST[T: AtomType | SomeFloat](obj: ptr T): T {.inline.}
Source   Edit  
proc Py_atomic_loadSEQ_CST[T: ref](obj: ptr T): T {.inline.}
Source   Edit  
proc Py_atomic_storeRELAXED[T: AtomType | SomeFloat](obj: ptr T; value: T) {.
    inline.}
Source   Edit  
proc Py_atomic_storeRELAXED[T: ref](obj: ptr T; value: T) {.inline.}
Source   Edit  
proc Py_atomic_storeSEQ_CST[T: AtomType | SomeFloat](obj: ptr T; value: T) {.
    inline.}
Source   Edit  
proc Py_atomic_storeSEQ_CST[T: ref](obj: ptr T; value: T) {.inline.}
Source   Edit  

Templates

template FT(x): untyped
for FT_xxxx Source   Edit  
template Py_atomic_load[T: AtomType | SomeFloat | ref](obj: ptr T): T
Source   Edit  
template Py_atomic_store[T: AtomType | SomeFloat | ref](obj: ptr T; value: T)
Source   Edit