提交 8d243f77 编写于 作者: L Liu Jicong

refactor tq

上级 29bc056a
......@@ -27,7 +27,7 @@ if(${BUILD_TEST})
endif(${BUILD_TEST})
add_subdirectory(source)
add_subdirectory(tools)
#add_subdirectory(tests)
add_subdirectory(tests)
add_subdirectory(example)
# docs
......
......@@ -37,7 +37,7 @@ extern "C" {
typedef struct STQ STQ;
// memory allocator supported by vnode
// memory allocator provided by vnode
typedef struct STqMemRef {
SMemAllocatorFactory* pAllocatorFactory;
SMemAllocator* pAllocator;
......@@ -51,7 +51,7 @@ void tqCleanUp();
STQ* tqOpen(const char* path, SWal* pWal, SMeta* pMeta, STqCfg* tqConfig, SMemAllocatorFactory* allocFac);
void tqClose(STQ*);
// void* will be replace by a msg type
// required by vnode
int tqPushMsg(STQ*, void* msg, int64_t version);
int tqCommit(STQ*);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册