|
Zero
0.1.0
|
Finds all latches held by this thread. More...
Public Member Functions | |
| holder_search (latch_t const *l) | |
| Insert latch_holder_t for given latch if not already there. More... | |
| ~holder_search () | |
| 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 More... | |
| static int | count (holder_list holders, latch_t const *l) |
| count # times we find a given latch in the list. For debugging, asserts. More... | |
Private Attributes | |
| holder_list | _holders |
| latch_holder_t *& | _freelist |
| holder_list::iterator | _end |
| holder_list::iterator | _it |
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.
|
inline |
Insert latch_holder_t for given latch if not already there.
|
inline |
|
inlinestatic |
count # times we find a given latch in the list. For debugging, asserts.
|
inlinestatic |
find holder of given latch in given list
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
1.8.12