multithreading on dual core machine?

前端 未结 5 2195
無奈伤痛
無奈伤痛 2020-12-05 21:30

I have a dual core processor and according to the explanation I\'m able to use only 2 threads but actually I\'m able to launch more than 2 threads at same time:

Here

5条回答
  •  死守一世寂寞
    2020-12-05 21:59

    You can always run multiple threads, even on single core machine. Though, they can't run in parallel. (more than 2 in your case)

    For example, one thread does the GUI, the other fetches some work from the server...

    See this for a deeper explanation.

提交回复
热议问题