summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2021-12-27 17:29:50 +0900
committerOBATA Akio <obache@wizdas.com>2021-12-28 16:47:51 +0900
commit7e4fc64d69e8211cbe6e6fed33998ecab29c873d (patch)
treedd6cbd74b960d678c97e65d8a451c7e34795821c /tools
parent1c1b280b1f48e643a73bd3536d1a4ab0237ebdaf (diff)
downloadtqt3-7e4fc64d69e8211cbe6e6fed33998ecab29c873d.tar.gz
tqt3-7e4fc64d69e8211cbe6e6fed33998ecab29c873d.zip
tools: fix to use `pthread_t` for Thread ID
Thread ID is opaque type pthread_t, it may not be compatible with integer, and may integer with valid id `0`. Change to store mutex owner thread ID as `pthread_t` type with valid flag and compare with `pthread_equal()`, and don't try to print it. Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions