erlang-otp
Erlang Dynamic supervisor start gen_server
I have root supervisor that create other supervisor: start_link() -> supervisor:start_link({local, ?MODULE}, ?MODULE, []).[详细]
2023-02-08 01:04 分类:问答Erlang: starting a remote node programmatically
I am aware that nodes can be started from the shell. What I am l开发者_如何学Cooking for is a way to start a remote node from within a module. I have searched, but have been able to find nothing.[详细]
2023-02-07 22:39 分类:问答limitation of the reception buffer
I established a connection with a client this way: gen_tcp:listen(1234,[binary,{packet,0},{reuseaddr,true},{active,false},{recbuf,2048}]).[详细]
2023-02-06 12:26 分类:问答How to always log/show the error reason when a supervisor child returns error from start_link?
When starting gen_server\'s from a supervisor 开发者_JS百科(which itself is started by a application) I have the problem that when the start_link of the gen_server doesn\'t return {ok, ...} but {error[详细]
2023-02-06 06:37 分类:问答erlang send socket cyrillic data
I\'m trying to send data from the server written in Erlang: gen_tcp:send(Socket, \"Server connection refused \\r\\n\").[详细]
2023-02-05 06:24 分类:问答How do I create and use (or simulate) multi-column indexes in Erlang Mnesia
I have looked through the Mnesia documentation and the 3 popular Erlang books. It seems only single column primary and secondary indexes can be created and used. Or maybe it is just what the examples[详细]
2023-02-01 11:28 分类:问答gen_server and the run-time errors
I have a run-time error in the init part of a gen_server. - Init begin by process_flag(trap_exit,true)[详细]
2023-01-29 17:38 分类:问答Registering a child in the process that initiated the start_child call
I have a logic module that tells a supervisor to start child processes. I need to store those childrens pid in the logic modules state. But I also need to update a childs pid if the supervisor restart[详细]
2023-01-28 01:07 分类:问答Concurrency: Processes vs Threads
What are the main adv开发者_Python百科antages of using a model for concurrency based on processes over one[详细]
2023-01-27 09:49 分类:问答Is Erlang's security via cookies enough?
A thing concerning the security of Erlang\'s "secret cook开发者_JAVA技巧ie" mechanism.[详细]
2023-01-27 05:32 分类:问答
加载中,请稍侯......