How to use the multiprocess.heap.BufferWrapper function in multiprocess

To help you get started, we’ve selected a few multiprocess examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github uqfoundation / multiprocess / py3.1 / multiprocess / sharedctypes.py View on Github external
def _new_value(type_):
    size = ctypes.sizeof(type_)
    wrapper = heap.BufferWrapper(size)
    return rebuild_ctype(type_, wrapper, None)
github uqfoundation / multiprocess / py2.7 / multiprocess / sharedctypes.py View on Github external
def _new_value(type_):
    size = ctypes.sizeof(type_)
    wrapper = heap.BufferWrapper(size)
    return rebuild_ctype(type_, wrapper, None)
github uqfoundation / multiprocess / py3.3 / multiprocess / sharedctypes.py View on Github external
def _new_value(type_):
    size = ctypes.sizeof(type_)
    wrapper = heap.BufferWrapper(size)
    return rebuild_ctype(type_, wrapper, None)
github uqfoundation / multiprocess / py2.6 / multiprocess / sharedctypes.py View on Github external
def _new_value(type_):
    size = ctypes.sizeof(type_)
    wrapper = heap.BufferWrapper(size)
    return rebuild_ctype(type_, wrapper, None)