endurox.tpsetctxt¶
- endurox.tpsetctxt(*args, **kwargs)¶
Overloaded function.
tpsetctxt(context: endurox.TPCONTEXT_T, flags: int = 0) -> None
Set current ATMI context from handle received from
tpgetctxt()
ortpnewctxt()
.For more details see tpsetctxt(3) C API call.
- raise AtmiException:
Parameters
- contextTPCONTEXT_T
Context handle.
- flagsint
RFU, default 0.
tpsetctxt(none: None, flags: int = 0) -> None
Set
TPNULLCONTEXT
. Removes given thread from any ATMI context.For more details see tpsetctxt(3) C API call.
- raise AtmiException:
- Following error codes may be present:
TPESYSTEM
- System error occurred.
Parameters
- nonenone
Python’s
py::None
constant.- flagsint
RFU, default 0.