holder_search Class Reference

Collaboration diagram for holder_search:

Collaboration graph
[legend]
List of all members.

Detailed Description

Finds all latches held by this thread.

Searches a thread-local list for a latch_holder_t that is a reference to the given latch_t.

See also:
latch_holder_t.

Definition at line 239 of file latch.cpp.

Public Member Functions

 holder_search (latch_t const *l)
 Insert latch_holder_t for given latch if not already there.
 ~holder_search ()
latch_holder_toperator-> ()
latch_holder_tvalue ()

Static Public Member Functions

static holder_list::iterator find (holder_list holders, latch_t const *l)
 find holder of given latch in given list
static int count (holder_list holders, latch_t const *l)
 count # times we find a given latch in the list. For debugging, asserts.


The documentation for this class was generated from the following file:
Generated on Wed Jul 7 17:22:43 2010 for Shore Storage Manager by  doxygen 1.4.7