Program Listing for File locking.hpp

Return to documentation for file (cosm/arena/locking.hpp)

#pragma once

/*******************************************************************************
 * Includes
 ******************************************************************************/
#include "rcppsw/common/common.hpp"

/*******************************************************************************
 * Namespaces/Decls
 ******************************************************************************/
namespace cosm::arena {

/*******************************************************************************
 * Class Definitions
 ******************************************************************************/
enum class locking : uint {
  ekNONE_HELD = 1 << 0,
  ekBLOCKS_HELD = 1 << 1,
  ekCACHES_HELD = 1 << 2,
  ekGRID_HELD = 1 << 3,
  ekALL_HELD = ekNONE_HELD | ekBLOCKS_HELD | ekCACHES_HELD | ekGRID_HELD
};
} /* namespace cosm::arena */