[erlang-questions] : Fwd: Suggestion: New Info item for process_info/2

Raimo Niskanen raimo+erlang-questions@REDACTED
Mon May 19 16:58:39 CEST 2008


On Fri, May 16, 2008 at 11:46:08AM -0400, Edwin Fine wrote:
> Actually, Bengt, that is *exactly* what I would like. Great suggestion.
> Ed
> 
> On Fri, May 16, 2008 at 3:07 AM, Bengt Kleberg <bengt.kleberg@REDACTED>
> wrote:
> 
> > Greetings,
> >
> > There is probably a reason for process_info/1 being restricted to
> > debugging (it might not be possible to interrupt and takes too much
> > time?). Adding 'all' to process_info/2 should turn it into
> > process_info/1 (or a super set of it) and make it as ''bad''.
> > What you probably want is process_info_available/0 which returns a list
> > of atoms.

That might be useful for tools.

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list