Friday, December 30, 2016

partial STM for C structs

c4life provides partial STM support for changes made to records, partial meaning single threaded. Transactions are useful in many single threaded scenarios; and layering the rest of a multi threaded implementation on top as a separate abstraction is perfectly doable, should one be so inclined. Transactions may be rolled back and/or committed several times during their life; rolling back resets all logged records to their last logged values, and committing resets the transaction. Records may be logged in any transaction; and are automatically logged in the last started, active transaction; if any; when added to tables.


peace, out