// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#pragma warning disable 0162
using System.Threading.Tasks;
namespace FASTER.core
{
///
/// Info contained in task associated with commit
///
public struct CommitInfo
{
///
/// Begin address
///
public long BeginAddress;
///
/// From address of commit range
///
public long FromAddress;
///
/// Until address of commit range
///
public long UntilAddress;
///
/// Error code (0 = success)
///
public uint ErrorCode;
}
///
/// Linked list (chain) of commit info
///
public struct LinkedCommitInfo
{
///
/// Commit info
///
public CommitInfo CommitInfo;
///
/// Next task in commit chain
///
public Task NextTask;
}
}