标签:
WINDOWS:
OpenFileMapping :获取共享内存句柄
CreateFileMapping :创建共享内存句柄
MapViewOfFile :获取共享内存空间
UnmapViewOfFile :释放共享内存空间
LINUX、UNIX:
shmget(OpenFileMapping, CreateFileMapping)
shmat( MapViewOfFile )
shmdt( UnmapViewOfFile )
标签:
原文地址:http://www.cnblogs.com/ys0103/p/4562493.html