ttorrent
ttorrent copied to clipboard
Interrupting the in/out threads so they can get out of select()
Since the thread gets stuck in the selector you get a leak of fds, and threads
Another approach is to use select(long timeout), but I assumed this one (timeout) would use more CPU, and as is per this MR my daemon has stopped leaking fds / threads already