SW Task Event Loop Framework v1.0.0
High-performance C++ asynchronous event loop framework with timer management and promise-based programming
|
High-performance timer management using Linux timerfd+epoll or sigev_thread. More...
#include "Timer.h"
#include <sys/timerfd.h>
#include <sys/epoll.h>
#include <unistd.h>
#include <signal.h>
#include <time.h>
#include <functional>
#include <unordered_map>
#include <thread>
#include <atomic>
#include <memory>
#include <mutex>
#include <stdexcept>
Go to the source code of this file.
Classes | |
class | swt::TimerManager |
High-performance timer management with configurable backend. More... | |
struct | swt::TimerManager::TimerInfo |
Internal timer information structure. More... | |
Namespaces | |
namespace | swt |
Software Timer namespace containing all timer-related classes. | |
Macros | |
#define | TIMER_USE_TIMERFD_EPOLL |
Enable timerfd + epoll backend (Linux-specific, high performance) | |
High-performance timer management using Linux timerfd+epoll or sigev_thread.
This file provides a high-performance timer management system with two configurable backends:
The backend is selected at compile time via preprocessor macros.
Definition in file TimerManager.h.