~ubuntu-branches/ubuntu/karmic/erlang/karmic-security

« back to all changes in this revision

Viewing changes to erts/emulator/beam/erl_db_tree.h

  • 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:
28
28
    DbTerm dbterm;                       /* The actual term */
29
29
} TreeDbTerm;
30
30
 
 
31
typedef struct {
 
32
    Uint pos;          /* Current position on stack */
 
33
    Uint slot;         /* "Slot number" of top element or 0 if not set */
 
34
    TreeDbTerm** array; /* The stack */
 
35
} DbTreeStack;
 
36
 
31
37
typedef struct db_table_tree {
32
38
    DbTableCommon common;
33
39
 
34
40
    /* Tree-specific fields */
35
41
    TreeDbTerm *root;         /* The tree root */
36
 
    TreeDbTerm **stack;       /* The first/next stack */
37
 
    Uint stack_pos;           /* Current position on stack */
38
 
    Uint slot_pos;            /* Current "slot" */
39
42
    Uint deletion;              /* Being deleted */
 
43
    erts_smp_atomic_t is_stack_busy;
 
44
    DbTreeStack static_stack;
40
45
} DbTableTree;
41
46
 
42
47
/*