pthread_mutex structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I am trying to debug a deadlock which comes in my c program, I did
print on pthread_mutex variable in gdb and could see following members
in it -

__lock = <some number>,
__count = 0
__owner = <some number>
__nusers = <some number>
__kind = 0
__spins = 0
__list = {__prev = 0x0, __next = 0x0}},
__size = "\002\000\000\000\000\000\000\000½=\000\000\001", '\0'
<repeats 26 times>,
__align = <some number>

Does anyone know meaning of these fields? Any pointers where can these
fields be written/documented?

Thanks

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux