LogSystem beta 1.4
This is a logging system project
 
载入中...
搜索中...
未找到
looper.hpp 文件参考

实现异步工作器 更多...

#include "buffer.hpp"
#include <mutex>
#include <condition_variable>
#include <thread>
#include <functional>
#include <memory>
#include <atomic>
looper.hpp 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

class  Xulog::AsyncLooper
 异步工作器类 更多...
 

命名空间

namespace  Xulog
 

类型定义

using Xulog::Functor = std::function< void(Buffer &)>
 回调函数类型
 

枚举

enum class  Xulog::AsyncType { Xulog::ASYNC_SAFE , Xulog::ASYNC_UNSAFE }
 异步工作器类型 更多...
 

详细描述

实现异步工作器

本文件定义了异步工作器类,用于处理异步数据生产与消费的逻辑。