endurox.tpgetctxt¶
- endurox.tpgetctxt(flags: int = 0) tuple¶
Retrieve current ATMI context handle and put current thread in
TPNULLCONTEXTcontext.For more details see tpgetctxt(3) C API call.
- Parameters:
flags (int) – RFU, default 0.
- Returns:
ret (int) – In case if current thread was NULL associated
TPNULLCONTEXTis returned. In case if current thread was associated with XATMI context,TPMULTICONTEXTSis returned.context (TPCONTEXT_T) – ATMI Context handle.