Searches a thread-local list for a latch_holder_t that is a reference to the given latch_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. |
|latch_holder_t *||operator-> ()|
|latch_holder_t *||value ()|
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. |