Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个有 5 个进程的系统。其中一个进程发送信号1!到3个进程(即3个进程接收信号1?)。但是当我只模拟 3 个接收进程中的一个接收到 signal1 时。如何让所有 3 个同时接收到这个信号 1?
通过声明broadcast chan channel1每次发送channel1,其他系统中可以接收到它的所有转换都会同时接收到它。
broadcast chan channel1