From 43264faed7f0ba41df05ac52249a38c902f690b1 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Mon, 9 Oct 2023 13:25:14 +0200 Subject: [PATCH] fixup! Add (and use) proc_lib:set(and get)_process_description/1 --- lib/stdlib/doc/src/proc_lib.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/stdlib/doc/src/proc_lib.xml b/lib/stdlib/doc/src/proc_lib.xml index 69bbc901f69d..9c6cd8a4a301 100644 --- a/lib/stdlib/doc/src/proc_lib.xml +++ b/lib/stdlib/doc/src/proc_lib.xml @@ -346,6 +346,9 @@ init(Parent) ->

Set a description for the current process. The primary use is to aid debugging of non registered processes. + The process description can be used in tools and crash reports to identity processes + but it doesn't have to be unique or an atom, as a registered name needs to be. + The process description can be any term, for example {worker_process, 1..N}.

Use