The communication mode of process and thread is the same, which can be divided into two types
1. Shared storage
A process (thread) stores information in a storage area accessible to all processes (threads), and another process (thread) can obtain information content from this storage area.
Processes (threads) can complete the purpose of information exchange through network communication.