gen_server patches

Vlad Dumitrescu <>
Tue Mar 11 21:37:44 CET 2003


I have looked inside gen_server, and discovered some very minor things that
could be done better: calls to apply/3 that can be replaced with
Mod:Fun(Args) and also replacing references to gen_server with ?MODULE (so
that related new behaviours can be more easily generated).

I also have implemented the "layered gen_server" I mentioned on
erlang-questions, both backwards compatible (using process dictionary) and
as a new behaviour, but I am not sure if it's right to send them to you
here, before in some way finding out if this is a useful improvement.

best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple.diff
Type: application/octet-stream
Size: 2619 bytes
Desc: not available
URL: <>

More information about the erlang-patches mailing list