I have tried creating a wrapper over pthread_mutex that maintains a list of all mutexes held by the current thread. However, I also utilize certain library code, for which, I can't possibly use this wrapper. Is there any way to do get this list for generic pthread_mutexes? FWIW, I am using a Linux Host.
https://stackoverflow.com/questions/65904672/is-there-a-way-to-find-a-list-of-pthread-mutexes-held-by-the-current-pthread January 26, 2021 at 11:55PM
没有评论:
发表评论