ensure_started

Chris Pressey <>
Sun Mar 23 22:58:50 CET 2003


On Sun, 23 Mar 2003 23:07:23 +0500 (YEKT)
Vladimir Sekissov <> wrote:

> Good day,
> 
> loop() ->
>   receive
>    Msg ->
>     do_something,
>     loop();
>    please_die ->
>      receive
>        Msg -> % there are some messages, continue
>          loop()
>      after 0 -> % nobody wants to talk to me

Is there a guarantee that you won't get a message right here?

>        exit(shutdown)
>      end
>   end.
> 
> Best Regards,
> Vladimir Sekissov

-Chris



More information about the erlang-questions mailing list