I am new to VxWorks and working in a C++ project on VxWorks platform. I want to know whether there is a way to know the owner of a pthread mutex(thread Id) and also the status of the mutex(locked or unlocked). In Linux we can get these info by using mutex.__data.__owner for ownership details. But in VxWorks I am not able to see the __data member in pthread_mutex_t. Can somebody please help me in solving this problem.
Thanks in advance