Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

54. POSIX Shared Memory > Comparisons Between Shared Memory APIs

Comparisons Between Shared Memory APIs

By now, we have considered a number of different techniques for sharing memory regions between unrelated processes:

Note

Many of the points that we make in this section are also relevant for shared anonymous mappings (Anonymous Mappings), which are used for sharing memory between processes that are related via fork().

A number of points apply to all of these techniques:

  • They provide fast IPC, and applications typically must use a semaphore (or other synchronization primitive) to synchronize access to the shared region.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint