tx_close — Close XA sub-system, disconnect from XA resource manager
#include <tx.h>
int tx_close(void);
For XATMI client link with -latmiclt -latmi -lubf -lnstd -lpthread -lrt -lm
For XATMI server link with -latmisrv|-latmisrvnomain|-latmisrvinteg -latmi -lubf -lnstd -lpthread -lrt -lm
Function disconnects control thread/process from XA driver. The function shall be called only when process have terminated global transaction. If resource manager was not open previously, function still succeed.
TX API is base on TP API. This function is based on tpclose(3) and it is possible to mix these two API kinds.