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

John M. Nordgaard <>
Fri May 30 08:45:20 CEST 2008


Hi Gene,

No, I'm not. This particular work is on swarm behavior.

- john.


> John,
>
> You're not by any chance working on a Neural Network project are you?
>
> -Gene
>
> On Thu, May 29, 2008 at 1:27 AM, John M. Nordgaard <>
> wrote:
>
>> 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
>> keeping.
>>
>> All hints and suggestiong are greatly appreciated! :-)
>>
>> - john.
>>
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>
>





More information about the erlang-questions mailing list