summaryrefslogtreecommitdiffstats
path: root/tutorial/t9
diff options
context:
space:
mode:
authorOBATA Akio <[email protected]>2021-12-27 17:29:50 +0900
committerOBATA Akio <[email protected]>2021-12-28 16:47:51 +0900
commit7e4fc64d69e8211cbe6e6fed33998ecab29c873d (patch)
treedd6cbd74b960d678c97e65d8a451c7e34795821c /tutorial/t9
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 <[email protected]>
Diffstat (limited to 'tutorial/t9')
0 files changed, 0 insertions, 0 deletions