0

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

Harry
  • 2,177
  • 1
  • 19
  • 33

1 Answers1

0

Hope it answers the above question asked.

Community
  • 1
  • 1
techEmbedded
  • 2
  • 1
  • 3
  • Thanks for the reply. I am not able to find the .__data.__owner field of a mutex variable in vxworks. Can you help me in solving this issue – Harry May 19 '16 at 13:35