# # README.pthread_mutex_attr_util # # FIXME: Write better README pthread_mutex_attr_util - simple utility to check/set pthread mutext attributes ** Example usage 1: $ ksh93 -c 'LD_PRELOAD="$PWD/pthread_mutex_attr_util.so" ./test_prog' ** Example usage 2: # (this assumes that pthread_mutex_attr_util.so is in $PWD or # /usr/lib/pthread_mutex_attr_util/pthread_mutex_attr_util.so) $ ./pthread_mutex_attr_util_wrapper ./test_prog' ** Environment variables: "PMAU_VERBOSE" ("0" or "1") - enables verbose messages "PMAU_PRINT_BACKTRACE" ("0" or "1") - print stack trace "PMAU_NUM_BACKTRACE_LINES" (integer) - number of lines per stack trace "PMAU_ENFORCE_PRIO_INHERIT" ("0" or "1") - enforce PTHREAD_PRIO_INHERIT "PMAU_WARN_NO_PRIO_INHERIT" ("0" or "1") - warn if PTHREAD_PRIO_INHERIT is not set # # ToDo: # - Print PID/Thread-ID - Command-Line Options for wrapper - Rename wrapper to util - Build 64bit binaries # EOF.