Implementation of the Shared Memory API