Differences between multiple processes and multiple threads

zhaozj2021-02-16  101

Basic differences: Each process has its own set of complete variables, while thread sharing the same data. The overhead required to establish or revoke each thread will be much less than the new process. In addition, communication between processes The communication speed is much slower than the thread and is limited.

转载请注明原文地址:https://www.9cbs.com/read-10614.html

New Post(0)