erlang:process_info/2 statuses

Kostis Sagonas kostis@REDACTED
Sun Feb 20 18:41:47 CET 2011


The documentation of erlang:process_info/2 reads:

   http://www.erlang.org/doc/man/erlang.html#process_info-2

   ...
   {status, Status}
     Status is the status of the process. Status is waiting (waiting
     for a message), running, runnable (ready to run, but another
     process is running), or suspended

but the actual implementation (erts/emulator/beam/erl_process.c)
has two more statuses:

	exiting  and  garbage_collecting

Is there a good reason why these are not be documented?
Should they be?

Kostis


More information about the erlang-questions mailing list