[erlang-questions] 2 (unrelated) questions.
Wed Oct 26 22:21:41 CEST 2011
A1: There's a searchable google group that mirrors the list
Failure: badarg if Pid is not an existing,* local* process or port, if
RegName is already in use, if the process or port is already registered
(already has a name), or if RegName is the atom undefined.
You can only register local processes. For
distributed/global registration you can take a look at pg2 module or gproc
On Wed, Oct 26, 2011 at 5:25 PM, Paul Barry <>wrote:
> Hi folks.
> Q1. Is there a search interface to this list?
> ...which is, I guess, sort of related to my next question (which I
> wouldn't ask if I could find a search interface to the archives)...
> Q2. Being able to register a spawned process is cool, but why can't I
> register a process that is spawned remotely? That is, why does this
> line of code give me a "badarg"?
> register(the_board, spawn('', displayboard,
> putmessage, )).
> Paul Barry, w: http://paulbarry.itcarlow.ie, e:
> Lecturer, Computer Networking: Institute of Technology, Carlow, Ireland.
> erlang-questions mailing list
- Ahmed Omar
Follow me on twitter
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions