Rather than threads interacting via Shared memory with locks, the actor model leverages "actors" that pass asynchronous messages using mailboxes.
与通过共享内存与锁交互的线程不同,角色模型利用了“角色”概念,使用邮箱来传递异步消息。
While blocked, the managed task continues to hold any Shared resources it acquired during the course of its dispatch (for example, storage resources, task-level resources, and mutex locks).
在阻塞的情况下,托管任务将继续持有其在调度期间获得的所有共享资源(例如,存储资源、任务级别的资源和互斥锁定)。
Buffers specifies the maximum number of shared-memory buffers; locks specifies the maximum number of locks available for user sessions.
BUFFERS指定共享内存缓冲区的最大数目;LOCKS指定用户会话可以使用的锁的最大数目。
应用推荐