shared_atomic.atomic_shared_memory

class shared_atomic.atomic_shared_memory. atomic_shared_memory


__init__ ( self , initial : bytes = b'\x00' , length : int = None , paddingdirection : unicode = None , paddingbytes : bytes = b'\x00' , trimming_direction : unicode = 'right' , source : unicode = 'p' , previous_shared_memory_path : unicode = None , remove_previous_file : bool = False , dealloc_async : bool = False )


dealloc_async

dealloc_async: bool


file_sync ( self , async: bool = False , start: int = 0 , length: int = 0 ) int


memdump ( self , file_path : unicode , start : int = 0 , length : int = 0 ) int


offset_add_and_fetch ( self , value : bytes , offset : int = 0 ) bytes


offset_add_and_fetches ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_and_and_fetch ( self , value : bytes , offset : int = 0 ) bytes


offset_and_and_fetches ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_compare_and_set ( self , shared_memory2 : atomic_shared_memory , value : bytes , offset : int = 0 , offset2 : int = 0 ) bool


offset_compare_and_set_value ( self , i : bytes , n : bytes , offset : int = 0 ) bytes


offset_compare_and_set_values ( self , ies : const_char[:, _:] , ns : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_compare_and_sets ( self , other_memories : list , values : const_char[:, _:] , offsets : const_size_t[:] , offsets2 : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) list


offset_compare_with_other_type_and_set ( self , object2 : atomic_object , value : bytes , offset : int = 0 ) bool


offset_fetch_and_add ( self , value : bytes , offset : int = 0 ) bytes


offset_fetch_and_adds ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_fetch_and_and ( self , value : bytes , offset : int = 0 ) bytes


offset_fetch_and_ands ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_fetch_and_nand ( self , value : bytes , offset : int = 0 ) bytes


offset_fetch_and_nands ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_fetch_and_or ( self , value : bytes , offset : int = 0 ) bytes


offset_fetch_and_ors ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_fetch_and_sub ( self , value : bytes , offset : int = 0 ) bytes


offset_fetch_and_subs ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_fetch_and_xor ( self , value : bytes , offset : int = 0 ) bytes


offset_fetch_and_xors ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_get ( self , offset : int = 0 , length : int = 1 ) bytes


offset_get_and_set ( self , value : bytes , offset : int = 0 ) bytes


offset_get_and_sets ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_gets ( self , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_memmove ( self , mv : object , offset : int = 0 , io_flags : unicode = 'i' ) void


offset_nand_and_fetch ( self , value : bytes , offset : int = 0 ) bytes


offset_nand_and_fetches ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_or_and_fetch ( self , value : bytes , offset : int = 0 ) bytes


offset_or_and_fetches ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_store ( self , shared_memory2 : atomic_shared_memory , offset : int = 0 , offset2 : int = 0 , length : int = 1 ) void


offset_store_from_other_types ( self , object2 : atomic_object , offset : int = 0 ) void


offset_sub_and_fetch ( self , value : bytes , offset : int = 0 ) bytes


offset_sub_and_fetches ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


offset_xor_and_fetch ( self , value : bytes , offset : int = 0 ) bytes


offset_xor_and_fetches ( self , values : const_char[:, _:] , offsets : const_size_t[:] , lengths : const_char[:] , parallelism : int = 0 ) char[:,_::1]


shared_atomic.atomic_shared_memory. shared_memory_offset_add_and_fetch ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_and_and_fetch ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_compare_and_set ( memory : atomic_shared_memory , shared_memory2 : atomic_shared_memory , value : bytes , offset : int = 0 , offset2 : int = 0 ) bool


shared_atomic.atomic_shared_memory. shared_memory_offset_compare_and_set_value ( memory : atomic_shared_memory , i : bytes , n : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_compare_with_other_type_and_set ( memory : atomic_shared_memory , object2 : atomic_object , value : bytes , offset : int = 0 ) bool


shared_atomic.atomic_shared_memory. shared_memory_offset_fetch_and_add ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_fetch_and_and ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_fetch_and_nand ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_fetch_and_or ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_fetch_and_sub ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_fetch_and_xor ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_get ( memory : atomic_shared_memory , offset : int = 0 , length : int = 1 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_get_and_set ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_nand_and_fetch ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_or_and_fetch ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_store ( memory : atomic_shared_memory , shared_memory2 : atomic_shared_memory , offset : int = 0 , offset2 : int = 0 , length : int = 1 ) void


shared_atomic.atomic_shared_memory. shared_memory_offset_store_from_other_types ( memory : atomic_shared_memory , object2 : atomic_object , offset : int = 0 ) void


shared_atomic.atomic_shared_memory. shared_memory_offset_sub_and_fetch ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes


shared_atomic.atomic_shared_memory. shared_memory_offset_xor_and_fetch ( memory : atomic_shared_memory , value : bytes , offset : int = 0 ) bytes