Luminarys / synapse

Synapse BitTorrent Daemon
https://synapse-bt.org
ISC License
855 stars 48 forks source link

Remove listener thread #196

Closed Luminarys closed 4 years ago

Luminarys commented 4 years ago

The idea of keeping the peer listener and peer reader/writers on separate threads was an initial idea I had based on some blogpost but really just complicates the code and prevents us from migrating to mio (because mio requires all sockets are only ever registered on exactly one Poll). Prior work was done in #184 which should make this a relatively easy change I believe.