WINDOWS:
OpenFileMapping :获取共享内存句柄
CreateFileMapping :创建共享内存句柄
MapViewOfFile :获取共享内存空间
UnmapViewOfFile :释放共享内存空间
LINUX、UNIX:
shmget(OpenFileMapping, CreateFileMapping)
shmat( MapViewOfFile )
shmdt( UnmapViewOfFile )