[prev in list] [next in list] [prev in thread] [next in thread]
List: erlang-questions
Subject: Re: [erlang-questions] simple_logger error in Joe Armstrong's Thesis
From: Bengt Kleberg <bengt.kleberg () ericsson ! com>
Date: 2009-04-20 6:47:11
Message-ID: 1240210031.30648.13.camel () seasc1137 ! dyn ! rnd ! as ! sw ! ericsson ! se
[Download RAW message or body]
Greetings,
I do not know what the error is but when looking at the listing I think
that there are two things wrong with it.
1) Line 6-7: two callbacks for behaviour gen_event are missing.
2) Line 14: the return value of gen_event:add_handler/3 is ignored.
bengt
"On Fri, 2009-04-17 at 22:04 -0400, Justin Giancola wrote:
> Hello,
>
> I've been reading through Joe's thesis
> (http://www.sics.se/~joe/thesis/armstrong_thesis_2003.pdf), and in the
> supervisor example (6.5.2) he comments that there was an unmentioned
> error in the simple_logger.erl listing. Now, not only did I not
> notice this error when reading simple_logger.erl the first time
> around, but even under close examination I can't for the life of me
> figure out what it is.
>
> Would someone with a sharper eye be kind enough to point it out?
>
> The listing is Figure 6.2 on page 142 of the thesis (and page 153 of
> the .pdf linked above).
>
> Thanks,
>
>
> Justin
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@erlang.org
> http://www.erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic