[erlang-questions] Sending messages to gen_event manager

Ulf Wiger ulf@REDACTED
Sat Jul 21 18:56:48 CEST 2007


2007/7/21, Ben Hood <0x6e6562@REDACTED>:
>
> So the implication of the serial execution is that if you wanted
> different events to be handled by different handlers concurrently, you
> would have to use separate manager processes, right?

The usual way to solve that is to have one event manager, and
handlers which do as little as possible - in that case only
forwarding the event to some server which does the actual
processing. The event handler becomes an interrupt driver
of sorts.

BR,
Ulf W



More information about the erlang-questions mailing list