Erlang/OTP Forums

Author Message

<  Erlang patches mailing list  ~  gen_server patches

vlad_dumitrescu at hotmai
Posted: Tue Mar 11, 2003 8:37 pm Reply with quote
Guest
Hello,

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,
Vlad


Post generated using Mail2Forum (http://m2f.sourceforge.net)
raimo.niskanen at uab.eri
Posted: Fri Mar 14, 2003 12:51 pm Reply with quote
Guest
Your patch has been accepted for the next R9 release.

/ Raimo Niskanen, Erlang/OTP



Vlad Dumitrescu wrote:
> Hello,
>
> 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,
> Vlad



Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum