作者:手机用户2502876011 | 来源:互联网 | 2023-06-23 09:15
Ihaveaprocessinerlangthatissupposedtodosomethingimmediatelyafterspawn,thensendther
I have a process in erlang that is supposed to do something immediately after spawn, then send the result back to the parent when it is finished. How do I figure out the PID of the process that spawned it?
我在erlang中有一个进程,它应该在spawn之后立即执行某些操作,然后在结束时将结果发送回父进程。我如何计算产生它的过程的PID?
4 个解决方案