endurox.tpgblktime

endurox.tpgblktime(flags: int) int

Get current ATMI call timeout setting configure for thread.

For more details see tpgblktime(3) C API call.

Raises:

AtmiException

Following error codes may be present:
TPEINVAL - Invalid flags.
TPESYSTEM - System error occurred.

Parameters:

flags (int) – Bitwise flags, may contain TPBLK_ALL, TPBLK_NEXT.

Returns:

tout – Current timeout configured for thread. If no timeout is configure value 0 is returned.

Return type:

int