27 lines
712 B
Python
27 lines
712 B
Python
"""
|
|
Auto-generated Python stub file from atom.py
|
|
Module: atom
|
|
"""
|
|
|
|
|
|
import t, c
|
|
|
|
ATOMIC_RELAXED: t.CDefine = 0
|
|
ATOMIC_CONSUME: t.CDefine = 1
|
|
ATOMIC_ACQUIRE: t.CDefine = 2
|
|
ATOMIC_RELEASE: t.CDefine = 3
|
|
ATOMIC_ACQ_REL: t.CDefine = 4
|
|
ATOMIC_SEQ_CST: t.CDefine = 5
|
|
|
|
def __atomic_test_and_set(ptr: t.CUInt64T | t.CPtr, order: t.CInt) -> t.CBool: pass
|
|
|
|
def __atomic_clear(ptr: t.CUInt64T | t.CPtr, order: t.CInt) -> t.CVoid: pass
|
|
|
|
def __atomic_thread_fence(order: t.CInt) -> t.CVoid: pass
|
|
|
|
def __atomic_signal_fence(order: t.CInt) -> t.CVoid: pass
|
|
|
|
def __atomic_always_lock_free(size: t.CSizeT, ptr: t.CVoid | t.CPtr) -> t.CBool: pass
|
|
|
|
def __atomic_is_lock_free(size: t.CSizeT, ptr: t.CVoid | t.CPtr) -> t.CBool: pass
|