IPC.md

August 5, 2016 · View on GitHub

IPC(進程間通信) Back

  • 由於Linux下各個進程在獨立地址空間運行, 因此無法通過全局變量和參數傳遞實現信息共享
  • 主要方式
    • pipe & fifo
    • message queue
    • shared memory & memory mapped file
    • semaphore
    • UNIX socket