Hi,
In the libpmemobj documentation on transactions:
http://pmem.io/nvml/libpmemobj/libpmemobj.3.html#CAVEATS
a caveat is given regarding the library's use of setjmp/longjmp and
the potential need to qualify some local function variables as "volatile".
The example in the documentation has:
volatile int *good_example = NULL;
However, I am thinking this should be:
int* volatile good_example = NULL;
because we want the pointer itself to be volatile.
Thoughts?
Thanks!
Brian