Next: The Memory Model
Up: Shared Memory
Previous: Shared Memory
Contents
- Access to the shared memory is as fast as accessing a process's nonshared memory, and it does not require a system call or entry to the kernel. It also avoids copying data unnecessarily.
- The kernel does not synchronize accesses to shared memory, you must provide your own synchronization.
- A common strategy to avoid these race conditions is to use semaphores.
Cem Ozdogan
2007-05-16