30 PersistStoreTxn implementation

A PersistStoreTxn does the following:

  • Sets TLS for operation call backs
  • Calculates whether any of the PSpaces were locked with write access, and if so merges all the groups.
  • Records the set of PSpaces opened by the txn, locks them with write access and later unlocks them automatically when the transaction is closed.

PersistStoreTxn.h

Source: Ceda/cxPersistStore/src/PersistStoreTxn.h

PersistStoreTxn.cpp

Source: Ceda/cxPersistStore/src/PersistStoreTxn.cpp