Rather than threads interacting via Shared memory with locks, the actor model leverages "actors" that pass asynchronous messages using mailboxes.
与通过共享内存与锁交互的线程不同,角色模型利用了“角色”概念,使用邮箱来传递异步消息。
The Go authors chose a message-passing model as their recommended method for concurrent programming. The language does still support Shared memory, however the authors have the following philosophy.
Go的作者选择了消息传递模型来作为推荐的并发编程方法。
In the currently used AIX large memory model, ConstrainedSHMSizeMB should be used only to support third-party applications that require Shared memory.
在当前使用的AIX大内存模型中,ConstrainedSHMSizeMB应该只用来支持需要共享内存的第三方应用程序。
应用推荐