erlang:process_info/2 statuses

Kostis Sagonas <>
Sun Feb 20 18:41:47 CET 2011

The documentation of erlang:process_info/2 reads:

   {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?


More information about the erlang-questions mailing list