CodePudding user response:
Is the role of the thread, and other threads (including the main thread) the allocation of CPU time, common code execution,In this way, you can use a thread to handle affairs, however, if you deal with the same data source, a number of thread processing, with a single thread processing, speed up the little,
Because, at this time a thread, and multiple threads processing, with the increase of your thread, allocation of CPU time, were small,
CodePudding user response:
I meant the first thread does not affect the other threads when processing work