question about libpmemobj, Is there any API to flush all modified objects
29 views
Skip to first unread message
Hiro Yoshioka
unread,
Aug 27, 2023, 12:47:48 AM8/27/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pm...@googlegroups.com
Hi,
I have a naive question. If this forum is not appropriate one, please let me know the right place to ask.
Is there any API to flush all modified objects using by libpmemobj library?
What I want to do is pop = pmemobj_create(...) // do something ... // persist all modified objects
Thanks in advance, Hirotaka Yoshioka
Oksana Sałyk
unread,
Aug 31, 2023, 7:28:28 AM8/31/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pmem
Hi Hirotaka,
If you modify objects in a libpmemobj transaction, they are automatically flushed (the library keeps track of them). If you modify objects outside the transaction, there is no way to flush only the modified objects.