Actually, Bengt, that is *exactly* what I would like. Great suggestion.<br>Ed<br><br><div class="gmail_quote">On Fri, May 16, 2008 at 3:07 AM, Bengt Kleberg <<a href="mailto:bengt.kleberg@ericsson.com">bengt.kleberg@ericsson.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Greetings,<br>
<br>
There is probably a reason for process_info/1 being restricted to<br>
debugging (it might not be possible to interrupt and takes too much<br>
time?). Adding 'all' to process_info/2 should turn it into<br>
process_info/1 (or a super set of it) and make it as ''bad''.<br>
What you probably want is process_info_available/0 which returns a list<br>
of atoms.<br>
<br>
<br>
bengt<br>
<div><div></div><div class="Wj3C7c"><br>
On Thu, 2008-05-15 at 13:13 -0400, Edwin Fine wrote:<br>
> LOL. I probably deserved that. Thanks for the replies - SOMEONE is out<br>
> there!<br>
><br>
> Matt, the solution is workable, and I avoid pain as much as the next<br>
> guy, but I really want to have something that will TELL me what all<br>
> the valid process_info items are. process_info/1 only gives me SOME of<br>
> them and is for debugging only.<br>
><br>
> Ok, then; here's a suggestion:<br>
><br>
> Erlang team, How about adding an info item of "all" for<br>
> process_info/2? It won't break the interface, and it will allow people<br>
> like me to "query" process_info for which items are valid.<br>
><br>
> Regards,<br>
> Edwin Fine<br>
><br>
> On Thu, May 15, 2008 at 5:01 AM, Matthias Lang <<a href="mailto:matthias@corelatus.se">matthias@corelatus.se</a>><br>
> wrote:<br>
>         Edwin Fine writes:<br>
><br>
>          > I don't know if my first post just didn't make it, or got<br>
>         ignored because I<br>
>          > inadvertently offended someone, or perhaps it asked too<br>
>         boring a<br>
>          > question.<br>
><br>
><br>
>         I thought "the guy's figured out a perfectly workable solution<br>
>         but is<br>
>         tying himself in knots to avoid using it because it doesn't<br>
>         seem<br>
>         painful enough." Either that, or he hasn't managed to explain<br>
>         what he<br>
>         really wants to do.<br>
><br>
>         Matt<br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
</blockquote></div><br>