I mean return values for gen_server, gen_event that can contain hibernate atom. Ex.: {reply,Reply,NewState,hibernate} or {ok,NewState,hibernate}
I use it in my app. But it only relates to processes that spawned by me. I would like to squeeze processes that are spawned by the library (read: sockjs) and the web server (namely, cowboy)
On Fri, Feb 24, 2012 at 10:21, <masked.pr...@gmail.com> wrote: > I mean return values for gen_server, gen_event that can contain hibernate > atom. > Ex.: {reply,Reply,NewState,hibernate} or {ok,NewState,hibernate}
> I use it in my app. But it only relates to processes that spawned by me. I > would > like to squeeze processes that are spawned by the library (read: sockjs) and > the web server (namely, cowboy)
Oh, right: sockjs-erlang :)
Hibernating processes too often is rather inefficient, but certainly, we could hibernate sockjs_session processes and probably cowboy processes handling websockets sometimes.