Skip to content

Commit

Permalink
Merge pull request #4511 from lukaszstolarczuk/update-pmemobj_alloc-m…
Browse files Browse the repository at this point in the history
…anpage

doc: update pmemobj_alloc.3
  • Loading branch information
marcinslusarz authored Jan 29, 2020
2 parents 1cc0e2e + 0d5157b commit 83744e5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions doc/libpmemobj/pmemobj_alloc.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,13 @@ failure or system crash, on recovery they are guaranteed to be entirely complete
or discarded, leaving the persistent memory heap and internal object containers
in a consistent state.

All these functions can be used outside transactions. Note that operations
performed using the non-transactional API are considered durable after
completion, even if executed within an open transaction. Such non-transactional
changes will not be rolled back if the transaction is aborted or interrupted.
All these functions should be used outside transactions. If executed within
an open transaction they are considered durable immediately after completion.
Changes made with these functions will not be rolled back if the transaction
is aborted or interrupted. They have no information about other changes made
by transactional API, so if the same data is modified in a single transaction
using transactional and then non-transactional API, transaction abort
will likely corrupt the data.

The allocations are always aligned to a cache-line boundary.

Expand Down

0 comments on commit 83744e5

Please sign in to comment.