Brief
Explain memory condition in multi process
There are a parent process and several child processes in multi process.
All the process share parent process text segment and refer same memory domain.
On the other hand, data segment is copied by each child processes.
Global variables are not shared in each data segments.
Basic memory segment explanation is below.
https://cocoamaemae-tec-diary.blogspot.jp/search?q=memory
Reference
http://moro-archive.hatenablog.com/entry/2014/09/11/013520
https://teratail.com/questions/15389
http://ts0818.hatenablog.com/entry/2015/09/23/191335
No comments:
Post a Comment