Buglet in gen_server?

Bruce Fitzsimons Bruce@REDACTED
Mon Dec 2 10:46:27 CET 2002


Oops. Brain-spasm.

{local, app} is valid for gen_server:start_link but not subsequent calls. I
should know this, I have numerous examples where I've managed to do this
successfully. Promise.

Sorry for wasting bandwidth :-)

/Bruce

----- Original Message -----
From: "Bruce Fitzsimons" <Bruce@REDACTED>
To: <erlang-questions@REDACTED>
Sent: Monday, December 02, 2002 9:41 PM
Subject: Buglet in gen_server?


> Hi,
>
> I've been using the emacs skeletons forever, and these do things such as:
>
> gen_server:start_link({local, app}, app, [], []).
>
> This syntax isn't documented in R9B, and is possibly deprecated, but the
> interesting thing is that gen_server:call, and gen_server:start_link both
> work, while gen_server:cast doesn't (and fails silently, the dangerous
> little monster).
>
> Is the ServerRef -> {local, app} syntax valid? deprecated? invalid?
>
> Thanks,
> Bruce
>
>
>
>





More information about the erlang-questions mailing list