LogIt++
Loading...
Searching...
No Matches
TaskExecutor.hpp File Reference

Defines the TaskExecutor class, which manages task execution in a separate thread. More...

#include <thread>
#include <queue>
#include <mutex>
#include <functional>
#include <condition_variable>
#include <iostream>
#include <chrono>

Go to the source code of this file.

Classes

class  logit::detail::TaskExecutor
 A thread-safe task executor that processes tasks in a dedicated worker thread. More...
 

Namespaces

namespace  logit
 The primary namespace for the LogIt++ library.
 
namespace  logit::detail
 

Macros

#define _LOGIT_DETAIL_TASK_EXECUTOR_HPP_INCLUDED
 

Enumerations

enum class  logit::detail::QueuePolicy { logit::detail::Drop , logit::detail::Block }
 Queue overflow handling policy. More...
 

Detailed Description

Defines the TaskExecutor class, which manages task execution in a separate thread.

Definition in file TaskExecutor.hpp.

Macro Definition Documentation

◆ _LOGIT_DETAIL_TASK_EXECUTOR_HPP_INCLUDED

#define _LOGIT_DETAIL_TASK_EXECUTOR_HPP_INCLUDED

Definition at line 3 of file TaskExecutor.hpp.