您需要的是共享内存:http://en.wikipedia.org/wiki/Shared_memory 既然您在使用Linux操作系统,这里提供给您相关信息:http://www.kernel.org/doc/man-pages/online/pages/man7/shm_overview.7.html