[erlang-questions] Sending a message to all linked processes

John M. Nordgaard <>
Thu May 29 10:27:10 CEST 2008

Hi all,

Been looking through the documentation in search of an answer, and have
not been able to locate one, so I hope I haven't missed the obvious
here... my Erlang mileage is still nothing to brag about. :-)

I was wondering if there is a simple and straightforward way to send a
message to all linked processes. Now, I am aware that a process exit
signal is transmitted in a functionally similar manner, so it seems that
at least some form of "broadcast to all linked processes" operation exists
within the runtime. But is it possible to invoke such functionality
directly from source code?

The reason I ask is that I'm doing some research on systems with a very
large number of highly autonomous agents, and would like to be able to
broadcast messages to all agents without the hassle of manual PID book

All hints and suggestiong are greatly appreciated! :-)

- john.

More information about the erlang-questions mailing list