summaryrefslogtreecommitdiff
path: root/libc/kernel/tools/clean_header.py
diff options
context:
space:
mode:
authorMathias Agopian <mathias.agopian@gmail.com>2011-09-05 23:54:55 -0700
committerMathias Agopian <mathias@google.com>2011-12-09 14:38:57 -0800
commit7c0c3793722aea293c45921ef50e4adcdf9645ce (patch)
treef8cf3c609929a34bbdf40d83396545f00d1fd6b5 /libc/kernel/tools/clean_header.py
parent022d303116f742cd337852d37547e2ea24d97a25 (diff)
implement pthread mutex deadlock detection
this works by building a directed graph of acquired pthread mutexes and making sure there are no loops in that graph. this feature is enabled with: setprop debug.libc.pthread 1 when a potential deadlock is detected, a large warning is output to the log with appropriate back traces. currently disabled at compile-time. set PTHREAD_DEBUG_ENABLED=1 to enable. Change-Id: I916eed2319599e8aaf8f229d3f18a8ddbec3aa8a
Diffstat (limited to 'libc/kernel/tools/clean_header.py')
0 files changed, 0 insertions, 0 deletions