#include <DeadlockDetector.h>
Collaboration diagram for mozilla::CallStack:Public Member Functions | |
| CallStack (const callstack_id aCallStack=0) | |
| CallStack *ALWAYS* *ALWAYS* *ALWAYS* call this with no arguments. | |
| CallStack (const CallStack &aFrom) | |
| CallStack & | operator= (const CallStack &aFrom) |
| bool | operator== (const CallStack &aOther) const |
| bool | operator!= (const CallStack &aOther) const |
| void | Print (FILE *f) const |
Static Public Attributes | |
| static const CallStack | kNone |
| The "null" callstack. | |
| mozilla::CallStack::CallStack | ( | const callstack_id | aCallStack = 0 |
) | [inline] |
CallStack *ALWAYS* *ALWAYS* *ALWAYS* call this with no arguments.
This constructor takes an argument *ONLY* so that |GET_BACKTRACE()| can be evaluated in the stack frame of the caller, rather than that of the constructor.
*BEWARE*: this means that calling this constructor with no arguments is not the same as a "default, do-nothing" constructor: it *will* construct a backtrace. This can cause unexpected performance issues.
| mozilla::CallStack::CallStack | ( | const CallStack & | aFrom | ) | [inline] |
| void mozilla::CallStack::Print | ( | FILE * | f | ) | const [inline] |
const CallStack mozilla::CallStack::kNone [static] |
The "null" callstack.
1.7.1