endurox.tpgetlev

endurox.tpgetlev() bool

Get global transaction status.

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

Parameters:

flags (int) – RFU, default value is 0.

Returns:

status – Value False is returned if correct thread is not part of the global transaction. Value True is returned in case if thread is in global transaction.

Return type:

bool