Shared memory provides the fastest method of interprocess communication, because it processes read and write messages at the speed of memory transfers.
共享内存提供了最快的进程间通信方法,因为它以内存传输的速度来处理读写消息。
For each logging token read from the Shared memory or configuration file on its first invocation, OPEN_LOG builds a hash key using the name of the token and the size of the hash table.
对于每个从共享内存或初次调用使用的配置文件中读取的日志标记,OPEN_LOG都会使用标记名和散列表的大小来生成一个散列值。
Now, to read and print all the records from the entire Shared memory file, create a loop.
现在,要从全部共享内存文件读取和打印所有记录,创建一个循环。
应用推荐