[erlang-questions] how to know who is the parent pid of a child pid?

Richard A. O'Keefe ok@REDACTED
Wed Apr 3 01:31:07 CEST 2013


On 3/04/2013, at 12:09 PM, Brisa Jiménez wrote:
> How to know who is the parent pid of a child pid?

It isn't clear whether you are asking "if process A
spawned process B, can process B discover who A was?"
or "if process A spawned process B and process C
somehow becomes aquainted with B, can C discover who
A was?"

In either case, the obvious question is
"why do you want to know this?"






More information about the erlang-questions mailing list