How to do line oriented i/o in constant space?
matthias@REDACTED
matthias@REDACTED
Tue Oct 10 11:13:05 CEST 2000
Hi,
I feel somewhat guilty for spreading (in the FAQ) the use of halt() in
stand-along programs, e.g.
Torbjorn Tornkvist writes:
> loop(Port) ->
> receive
> {Port, eof} ->
> halt()
> end.
>
I'm about to put out a new release of the FAQ and was going to change
all occurences of halt() to init:stop(). The latter is a graceful
shutdown, as compared to halt's 'kill -9' behaviour. Before I do
that, any comments?
Matthias
(previously known as matthias.lang@REDACTED)
More information about the erlang-questions
mailing list