An open API service indexing awesome lists of open source software.

https://github.com/tobiasstaack/peer-thread-pool

Manage Multiplie Peer Connection using Thread Pools n Peers gets handled by one thread.
https://github.com/tobiasstaack/peer-thread-pool

cpp mit-license server-client socket-programming thread-pool

Last synced: 29 days ago
JSON representation

Manage Multiplie Peer Connection using Thread Pools n Peers gets handled by one thread.

Awesome Lists containing this project

README

          

## Author: Tobias Staack

# Peer-Thread-Pool
This Code-Snippet is related to Networking and can be used to avoid the princip of one thread for one socket connection.
Manage Multiplie Peer Connection using Thread Pools of *n* Peers gets handled by one thread.

[What it handles]
- creates additional threads if needed
- moves peer pointer to another thread to reduce the amount of threads
- shutdowns threads that handles zero peers

## This Project is written in C++ by Tobias Staack (@MyLifeIsMyHome)