|
proxygen
|
Static Public Member Functions | |
| def | get_mutex_type (thread_id, top_line) |
| def | get_mutex_owner_and_address_func_for_type (mutex_type) |
Static Public Attributes | |
| string | PTHREAD_MUTEX_T = 'pthread_mutex_t' |
| string | PTHREAD_RWLOCK_T = 'pthread_rwlock_t' |
Types of mutexes that we can detect deadlocks.
Definition at line 257 of file deadlock.py.
|
static |
Returns a function to resolve the mutex owner and address for
the given type. The returned function f has the following
signature:
f: args: (map of thread lwp -> thread id), blocked thread lwp
returns: (lwp of thread owning mutex, mutex address)
or (None, None) if not found.
Returns None if there is no function for this mutex_type.
Definition at line 281 of file deadlock.py.
|
static |
Returns the probable mutex type, based on the first line of the thread's stack. Returns None if not found.
Definition at line 264 of file deadlock.py.
References deadlock.is_thread_blocked_with_frame().
|
static |
Definition at line 260 of file deadlock.py.
|
static |
Definition at line 261 of file deadlock.py.