Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
Loading...
Searching...
No Matches
fallback_thread_backend.h File Reference

Fallback thread backend using std::thread. More...

#include "thread_backend.h"
#include <atomic>
#include <condition_variable>
#include <mutex>
#include <queue>
#include <thread>
#include <vector>
Include dependency graph for fallback_thread_backend.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  database::integrated::adapters::backends::fallback_thread_backend
 Simple thread pool using std::thread. More...
 

Namespaces

namespace  database
 
namespace  database::integrated
 
namespace  database::integrated::adapters
 
namespace  database::integrated::adapters::backends
 

Detailed Description

Fallback thread backend using std::thread.

Provides a simple thread pool implementation using standard C++ threading. Used when thread_system is not available.

Features:

  • Fixed-size thread pool with worker threads
  • Task queue with FIFO scheduling
  • Graceful shutdown with task completion
  • Thread-safe operation

Definition in file fallback_thread_backend.h.