g********o 发帖数: 132 | 1 请问
thread和process区别,
parallel和concurrent 区别
谢谢 | p*****2 发帖数: 21240 | | z******g 发帖数: 271 | 3 A process is associated with an execution context which includes a virtual
memory space, opened file handles, signals and etc. Whereas forked threads
share those resources.
Concurrency is when things look like they happen at the same time.
Parallelism is when things do happen at the same time. You can think of
parallelism a subset of concurrency. | H*******g 发帖数: 6997 | 4 You are eating, typing and listing to music, that is parallel. The whole
people from your company are eating, typing and listing to music at the same
time, it is Concurrency. | q*****l 发帖数: 124 | 5 multiprocessor才能parallel吧 |
|