Is there any way to verify that the erlang process was indeed sleeping. erlang:process_info/1 does not seem to provide this information, and I cannot come up with anything that could.
erlang:process_info/1
Its current function should be erlang:hibernate/3 .
erlang:hibernate/3
1> erlang:process_info(Pid, current_function). {current_function,{erlang, hibernate, 3}}
Here's how to do it in Elixir:
iex(2)> :erlang.process_info(pid, :current_function) {:current_function, {:erlang, :hibernate, 3}}
Source: https://habr.com/ru/post/1275584/More articles:Why doesn't a & str force & String when using Vec :: contains? - stringString php explode string based on characters according to string condition - arraysLaravel foreach with variable path - phpTranscode resume / review of levels before and after transcoding - rCosmos Db graph - Gremlin.Net performance and throughput versus Microsoft.Graph - graph-databasesCloudstore data mapping function with cloud functions - firebaselogstash: how to include the line number of the input file - loggingNumPy array index by row - optimizationMore efficient weighted Gini coefficient in Python - pythonWeighted Gini coefficient in Python - pythonAll Articles