aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2011-03-02 09:32:09 +0200
committerKostis Sagonas <[email protected]>2011-03-02 09:32:09 +0200
commit804bb7f78fcf94609f31a9d429b82c37d1f1173b (patch)
tree9094483beb38f637a1200e2c8b30dc9200488f41
parent98d3b0c86ff3d99a4d175291df54c5ed48357fce (diff)
downloadotp-804bb7f78fcf94609f31a9d429b82c37d1f1173b.tar.gz
otp-804bb7f78fcf94609f31a9d429b82c37d1f1173b.tar.bz2
otp-804bb7f78fcf94609f31a9d429b82c37d1f1173b.zip
Document exiting and garbage_collecting process statuses
-rw-r--r--erts/doc/src/erlang.xml3
-rw-r--r--lib/hipe/cerl/erl_bif_types.erl3
2 files changed, 4 insertions, 2 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 78d58a1e56..c3f06982f5 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -3980,7 +3980,8 @@ os_prompt%</pre>
<tag><c>{status, Status}</c></tag>
<item>
<p><c>Status</c> is the status of the process. <c>Status</c>
- is <c>waiting</c> (waiting for a message), <c>running</c>,
+ is <c>exiting</c>, <c>garbage_collecting</c>,
+ <c>waiting</c> (for a message), <c>running</c>,
<c>runnable</c> (ready to run, but another process is
running), or <c>suspended</c> (suspended on a "busy" port
or by the <c>erlang:suspend_process/[1,2]</c> BIF).</p>
diff --git a/lib/hipe/cerl/erl_bif_types.erl b/lib/hipe/cerl/erl_bif_types.erl
index 309c118107..6c6a207b3c 100644
--- a/lib/hipe/cerl/erl_bif_types.erl
+++ b/lib/hipe/cerl/erl_bif_types.erl
@@ -4807,7 +4807,8 @@ t_process_priority_level() ->
t_sup([t_atom('max'), t_atom('high'), t_atom('normal'), t_atom('low')]).
t_process_status() ->
- t_sup([t_atom('runnable'), t_atom('running'),
+ t_sup([t_atom('exiting'), t_atom('garbage_collecting'),
+ t_atom('runnable'), t_atom('running'),
t_atom('suspended'), t_atom('waiting')]).
t_raise_errorclass() ->