Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
thread_pool_interface.h File Reference

Thread pool interface extending executor functionality. More...

#include "executor_interface.h"
#include "../patterns/result.h"
#include <cstddef>
Include dependency graph for thread_pool_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

interface  kcenon::common::interfaces::IThreadPool
 Extended interface for thread pool implementations. More...
 
interface  kcenon::common::interfaces::IThreadPoolProvider
 Interface for modules that provide thread pool implementations. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::common
 Core interfaces.
 
namespace  kcenon::common::interfaces
 

Typedefs

using kcenon::common::interfaces::ThreadPoolFactory = std::function<std::shared_ptr<IThreadPool>(size_t worker_count)>
 Factory function type for creating thread pool instances.
 

Detailed Description

Thread pool interface extending executor functionality.

This header defines the thread pool interface that extends IExecutor with thread pool-specific operations like resizing, queue management, and lifecycle control.

Definition in file thread_pool_interface.h.