Mission Base

Program Base Library Functions

int pblKfCommit

( pblKeyFile_t* k, int rollback )

Commit or rollback changes done during a transaction.

Documentation

Commit or rollback changes done during a transaction.

Transactions can be nested, if so the commit only happens when the outermost transaction calls a commit.

The commit only happens to process space buffer cache, call pblKfFlush() after pblKfCommit() if you want to flush to kernel space buffer cache.

Parameters:
k - key file to commit
rollback - != 0: roll back the changes, == 0: commit the changes
Returns:
int rc == 0: the commit went ok
int rc > 0: a rollback happened, either because the caller requested it or because an inner transaction resulted in a rollback
int rc < 0: some error, see pbl_errno

Alphabetic index



This page was generated with the help of DOC++.