Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
thread_pool_bridge.h File Reference

Thread pool integration bridge for network_system. More...

#include "internal/integration/bridge_interface.h"
#include "kcenon/network/integration/thread_integration.h"
#include <kcenon/network/detail/config/feature_flags.h>
#include <memory>
#include <string>
#include <mutex>
#include <atomic>
Include dependency graph for thread_pool_bridge.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::network::integration::ThreadPoolBridge
 Bridge for thread pool integration implementing INetworkBridge. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::network
 Main namespace for all Network System components.
 
namespace  kcenon::network::integration
 
namespace  network_system
 

Macros

#define KCENON_NETWORK_INTERNAL_INTEGRATION_THREAD_POOL_BRIDGE_H_
 

Detailed Description

Thread pool integration bridge for network_system.

This file provides the ThreadPoolBridge class that consolidates thread_system and common_system thread pool integrations into a single, unified bridge.

Design Goals:

  • Unified interface for thread pool integration
  • Support for both thread_system and common_system backends
  • Factory methods for common configurations
  • Lifecycle management via INetworkBridge interface

Usage Example:

// Using thread_system backend
auto bridge = ThreadPoolBridge::from_thread_system("network_pool");
bridge->initialize(config);
// Using common_system backend
auto executor = container.resolve<IExecutor>();
auto bridge = ThreadPoolBridge::from_common_system(executor);
bridge->initialize(config);
tracing_config config
Definition exporters.cpp:29

Related Issues:

  • #582: Implement ThreadPoolBridge for thread_system integration
  • #579: Consolidate integration adapters into NetworkSystemBridge
Author
network_system team
Date
2026-02-01

Definition in file thread_pool_bridge.h.

Macro Definition Documentation

◆ KCENON_NETWORK_INTERNAL_INTEGRATION_THREAD_POOL_BRIDGE_H_

#define KCENON_NETWORK_INTERNAL_INTEGRATION_THREAD_POOL_BRIDGE_H_

Definition at line 7 of file thread_pool_bridge.h.