Rather than threads interacting via Shared memory with locks, the actor model leverages "actors" that pass asynchronous messages using mailboxes.
与通过共享内存与锁交互的线程不同,角色模型利用了“角色”概念,使用邮箱来传递异步消息。
Prior to finalizing the memory area, the finalizing thread may have acquired locks.
在终结内存区域之前,终结线程可能获取了锁。
应用推荐