Use the
awTxCommit function to commit and end a transaction. All outstanding events will get acknowledged once a transaction is committed. The following example contains an excerpt that shows the use of the
awTxCommit function to end a transaction:
. . .
err = awTxCommit(txclient2);
if (!verifyNoError(__FILE__,"awTxCommit",__LINE__,err)) {
return 0;
}
. . .