gem5.utils.multiprocessing.context module

This file contains extensions of the multiprocessing module to be used with gem5 Some code inspired by the Python standard library implementation of the multiprocessing module (i.e., cpython/Lib/multiprocessing/).

class gem5.utils.multiprocessing.context.Process(group=None, target=None, name=None, args=(), kwargs={}, *, daemon=None)

Bases: BaseProcess

class gem5.utils.multiprocessing.context.Spawn_gem5Process(group=None, target=None, name=None, args=(), kwargs={}, *, daemon=None)

Bases: BaseProcess

class gem5.utils.multiprocessing.context.gem5Context

Bases: BaseContext

Process

alias of Spawn_gem5Process

get_context(method=None)