summaryrefslogtreecommitdiffstats
path: root/src/kernel/qsignal.h
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2021-12-27 17:29:50 +0900
committerSlávek Banko <slavek.banko@axis.cz>2021-12-30 17:21:49 +0100
commit1e77a5569b098c6b81c54d165cb189a316669dce (patch)
tree4113118b65d17b3091191b0868fa4697c1b8dc8b /src/kernel/qsignal.h
parent38048ca6154899a74c5c7e7ebcabd37373266220 (diff)
downloadqt3-1e77a5569b098c6b81c54d165cb189a316669dce.tar.gz
qt3-1e77a5569b098c6b81c54d165cb189a316669dce.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 'src/kernel/qsignal.h')
0 files changed, 0 insertions, 0 deletions