<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 11, 2016 at 7:03 PM Max Lapshin <<a href="mailto:max.lapshin@gmail.com">max.lapshin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Ok, for example in case of mpegts library, we need to raise upper, up to sysadmin (user, not a programmer, he cannot use error_logger output) information about status of bitstream like "there are too much errors" or "here is a known list of audio channels".</div></div></blockquote><div><br></div><div>mmm why not using alarm here then? </div><div><a href="http://www.erlang.org/doc/man/alarm_handler.html">http://www.erlang.org/doc/man/alarm_handler.html</a><br></div><div><br></div><div>or depending on another alarm lib for such purpose or generate an event an let the user do what they want with it.</div><div><br></div><div>- benoît</div></div></div>