About the Handler in gen_event
Suresh S
sureshsaragadam@REDACTED
Mon Feb 24 13:54:19 CET 2003
Hi Ulf,
> If you're not doing so already, you should run your
> tests
> with the SASL application active. You can do this
> either by
> starting erlang with 'erl -boot start_sasl', or by
> calling
> application:start(sasl) in the shell of an already
> running
> system.
Hi have tested this module implementing gen_event,
When an event is notified to the event_mgr, it is not
handled,
Even i started sasl also,
the gen_event:add_handler is success i.e callback
function init(_) is called.
but when an event is notified gen_event:notify is
called the callback function handle_event is not
called
what may the problem?
Just please have a look at this module attached,
________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_gen_event.erl
Type: application/x-unknown
Size: 1250 bytes
Desc: test_gen_event.erl
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20030224/476b9553/attachment.bin>
More information about the erlang-questions
mailing list