~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to erts/emulator/beam/erl_monitors.c

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-06-11 12:18:07 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090611121807-ks7eb4xrt7dsysgx
Tags: 1:13.b.1-dfsg-1
* New upstream release.
* Removed unnecessary dependency of erlang-os-mon on erlang-observer and
  erlang-tools and added missing dependency of erlang-nox on erlang-os-mon
  (closes: #529512).
* Removed a patch to eunit application because the bug was fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
958
958
        if (is_atom(pid) && is_node_name_atom(pid) &&
959
959
            (dep = erts_find_dist_entry(pid)) != NULL) {
960
960
            erts_printf("Dumping dist monitors-------------------\n");
961
 
            erts_smp_dist_entry_lock(dep);
 
961
            erts_smp_de_links_lock(dep);
962
962
            erts_dump_monitors(dep->monitors,0);
963
 
            erts_smp_dist_entry_unlock(dep);
 
963
            erts_smp_de_links_unlock(dep);
964
964
            erts_printf("Monitors dumped-------------------------\n");
965
965
            erts_deref_dist_entry(dep);
966
966
            BIF_RET(am_true);
998
998
            if (is_atom(pid) && is_node_name_atom(pid) &&
999
999
                (dep = erts_find_dist_entry(pid)) != NULL) {
1000
1000
                erts_printf("Dumping dist links----------------------\n");
1001
 
                erts_smp_dist_entry_lock(dep);
 
1001
                erts_smp_de_links_lock(dep);
1002
1002
                erts_dump_links(dep->nlinks,0);
1003
 
                erts_smp_dist_entry_unlock(dep);
 
1003
                erts_smp_de_links_unlock(dep);
1004
1004
                erts_printf("Links dumped----------------------------\n");
1005
1005
                erts_deref_dist_entry(dep);
1006
1006
                BIF_RET(am_true);