File 0756-erts-Document-hibernate-resume-function-must-be-expo.patch of Package erlang
From 5b762b79a4f969f51ec7200c00e15790a149ec6d Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Fri, 7 May 2021 13:55:01 +0200
Subject: [PATCH 2/3] erts: Document hibernate resume function must be exported
---
erts/doc/src/erlang.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 1df0a886f2..578c544552 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -1851,7 +1851,10 @@ os_prompt%</pre>
the arguments given by <c><anno>Args</anno></c> with the call
stack emptied, meaning that the process terminates when that
function returns. Thus <c>erlang:hibernate/3</c> never
- returns to its caller.</p>
+ returns to its caller. The resume function
+ <c><anno>Module</anno>:<anno>Function</anno>/Arity</c> must be
+ exported (<c>Arity</c> =:= <c>length(<anno>Args</anno>)</c>).
+ </p>
<p>If the process has any message in its message queue,
the process is awakened immediately in the same way as
described earlier.</p>
--
2.26.2