槽管理器作为守护进程来运行以控制向应用程序提供的令牌槽数,并且使用一个共享内存区域与应用程序交互。
The slot manager runs as a daemon to control the number of token slots provided to applications, and it interacts with applications using a Shared memory region.
SHM VP: 当应用程序正在使用通信的共享内存方法时,该类将为新连接处理轮询任务。
SHM VP: Handles the task of polling for new connections when the application is using the shared memory method of communication.
真实的应用程序会使用信号量或其他技术控制对共享内存段的读写。
A real application would use semaphores or other techniques to control reading and writing to the Shared segment.
应用推荐