~ubuntu-branches/debian/squeeze/erlang/squeeze

« 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-08-05 20:54:29 UTC
  • mfrom: (6.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090805205429-pm4pnwew8axraosl
Tags: 1:13.b.1-dfsg-5
* Fixed parentheses in Emacs mode (closes: #536891).
* Removed unnecessary conflicts with erlang-manpages package.
* Added workaround for #475459: disabled threads on sparc architecture.
  This breaks wxErlang, so it's only a temporary solution.

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
/*