greenplumn CLink 源码
greenplumn CLink 代码
文件路径:/src/backend/gporca/libgpos/include/gpos/common/CLink.h
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2019 Pivotal
//
//---------------------------------------------------------------------------
#ifndef GPOS_CLink_H
#define GPOS_CLink_H
#include <cstddef>
namespace gpos
{
// Generic link to be embedded in all classes before they can use
// allocation-less lists, e.g. in synchronized hashtables etc.
struct SLink
{
// link forward/backward
void *m_next{nullptr};
void *m_prev{nullptr};
};
} // namespace gpos
#endif // !GPOS_CLink_H
// EOF
相关信息
相关文章
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦