/* * Print info about atom tables */ void atom_info(int to, void *to_arg) { int lock = !ERTS_IS_CRASH_DUMPING; if (lock) atom_read_lock(); index_info(to, to_arg, &erts_atom_table); if (lock) atom_read_unlock(); }
/* * Print info about atom tables */ void atom_info(int to, void *to_arg) { int lock = !ERTS_IS_CRASH_DUMPING; if (lock) atom_read_lock(); index_info(to, to_arg, &erts_atom_table); #ifdef ERTS_ATOM_PUT_OPS_STAT erts_print(to, to_arg, "atom_put_ops: %ld\n", erts_smp_atomic_read(&atom_put_ops)); #endif if (lock) atom_read_unlock(); }