Tacopie  3.0.0
Tacopie is a TCP Client & Server C++11 library.
Classes | Namespaces | Macros | Functions
io_service.hpp File Reference
#include <atomic>
#include <condition_variable>
#include <functional>
#include <memory>
#include <mutex>
#include <thread>
#include <unordered_map>
#include <vector>
#include <sys/select.h>
#include <tacopie/network/self_pipe.hpp>
#include <tacopie/network/tcp_socket.hpp>
#include <tacopie/utils/thread_pool.hpp>

Go to the source code of this file.

Classes

class  tacopie::io_service
 
struct  tacopie::io_service::tracked_socket
 

Namespaces

 tacopie
 

Macros

#define __TACOPIE_IO_SERVICE_NB_WORKERS   1
 

Functions

const std::shared_ptr< io_service > & tacopie::get_default_io_service (std::uint32_t num_io_workers=1)
 
void tacopie::set_default_io_service (const std::shared_ptr< io_service > &service)
 

Macro Definition Documentation

◆ __TACOPIE_IO_SERVICE_NB_WORKERS

#define __TACOPIE_IO_SERVICE_NB_WORKERS   1