Project

General

Profile

FAQ - multithreading

Added by Dirk Meyer over 8 years ago

Iroffer does not use multithreading.


Replies (1)

RE: FAQ - multithreading - Added by Dirk Meyer over 8 years ago

Idea: A config file option specifying the number of threads used by the program to deal with the file transfers.
In bots with lots of slots, using only one thread limits the transfer speed.

Theads will make the bot less portable and much more complex.

Iroffer uses an asynchronous IO as much as possible.
CPU is not the limiting factor.
Using threads would not make the bot faster.

    (1-1/1)