This article study that how to realize Inter-process communication by shared memory in the Linux operating system.It introduces the design of Linux development environment,System v shared-memory model,Read-write lock ,Object Package model,memory alloction and so on.I use the plan of fixed alloction of memory in the design of backround service, design efficient algorithms, synchronization to mange this model ,and achieve effective management of shared memory Using C language in the linux operating system.
Shared memory mechanism make inter-process can be more frequent exchange of data, effectively improving the performance of large amounts of data processing.
Keywords:shared-memory、IPC、synchronization、Inter-process communication