Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datastore::switch_epochとlog_channel::begin_sessionの呼出しがオーバラップする可能性についてapi コメントに追記 #54

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/limestone/api/log_channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ class log_channel {
* @brief join a persistence session for the current epoch in this channel
* @attention this function is not thread-safe.
* @note the current epoch is the last epoch specified by datastore::switch_epoch()
* @note datastore::switch_epoch() and this function can be called simultaneously.
* If these functions are invoked at the same time, the result will be as if one of them was called first,
* but it is indeterminate which one will take precedence.
*/
void begin_session();

Expand Down