class ThreadLockState

Defined at line 81 of file ../../src/lib/lockdep/include/lockdep/thread_lock_state.h

Tracks the locks held by a thread and updates accounting during acquire and

release operations.

Public Methods

void ThreadLockState ()

Defined at line 83 of file ../../src/lib/lockdep/include/lockdep/thread_lock_state.h

void ~ThreadLockState ()

Defined at line 84 of file ../../src/lib/lockdep/include/lockdep/thread_lock_state.h

void ThreadLockState (const ThreadLockState & )

Defined at line 86 of file ../../src/lib/lockdep/include/lockdep/thread_lock_state.h

ThreadLockState & operator= (const ThreadLockState & )

Defined at line 87 of file ../../src/lib/lockdep/include/lockdep/thread_lock_state.h

ThreadLockState * Get (LockFlags lock_flags)

Returns the ThreadLockState instance for the current thread.

Defined at line 90 of file ../../src/lib/lockdep/include/lockdep/thread_lock_state.h

void Acquire (AcquiredLockEntry * lock_entry)

Attempts to add the given lock class to the acquired lock list. Lock

ordering and other checks are performed here.

Defined at line 94 of file ../../src/lib/lockdep/include/lockdep/thread_lock_state.h

void Release (AcquiredLockEntry * entry)

Removes the given lock entry from the acquired lock list.

Defined at line 172 of file ../../src/lib/lockdep/include/lockdep/thread_lock_state.h

void AssertNoLocksHeld ()

Defined at line 183 of file ../../src/lib/lockdep/include/lockdep/thread_lock_state.h

LockResult last_result ()

Returns result of the last Acquire operation for testing.

Defined at line 192 of file ../../src/lib/lockdep/include/lockdep/thread_lock_state.h

bool reporting_disabled ()

Defined at line 194 of file ../../src/lib/lockdep/include/lockdep/thread_lock_state.h

Friends

void ThreadLockState (AcquiredLockEntry * )
void ThreadLockState (ThreadLockState * )
ThreadLockState * ThreadLockState ()