summaryrefslogtreecommitdiffstats
path: root/src/kernel/qfocusdata.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:34:55 +0100
commitaf8acc4fc3ac3e4b0681077796ad831048674988 (patch)
tree88cf57c67ce1a339962d760113398b75eaaa7b74 /src/kernel/qfocusdata.h
parentfeeca8d3d14ef661d28a2217ca35b3e100838027 (diff)
downloadqt3-af8acc4fc3ac3e4b0681077796ad831048674988.tar.gz
qt3-af8acc4fc3ac3e4b0681077796ad831048674988.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> (cherry picked from commit 1e77a5569b098c6b81c54d165cb189a316669dce)
Diffstat (limited to 'src/kernel/qfocusdata.h')
0 files changed, 0 insertions, 0 deletions