def ExecutionContext(stackIncrement=32 * 1024, dataManager=None, allowInterpreterTracing=True, blockUntilTracesAreCompiled=False): """Create a new execution context and return it""" assert dataManager is not None tr = FORANative.ExecutionContext(dataManager, stackIncrement) configureContextConfiguration(tr.configuration, allowInterpreterTracing, blockUntilTracesAreCompiled) return tr
def ExecutionContext(dataManager=None, allowInterpreterTracing=True, blockUntilTracesAreCompiled=False, allowInternalSplitting=True): """Create a new execution context and return it""" assert dataManager is not None tr = FORANative.ExecutionContext(dataManager) configureContextConfiguration(tr.configuration, allowInterpreterTracing, blockUntilTracesAreCompiled, allowInternalSplitting) return tr