summaryrefslogtreecommitdiffstats
path: root/examples/sql/overview
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:31:35 +0100
commita28783fa4801ce0c5455e69bbf118ed9dabef0d8 (patch)
tree593854c0fc7e6398e0f7f6177d072b51ae1111f1 /examples/sql/overview
parent628d5bf7addc44ff72a0a58f6fd6207a6e4df400 (diff)
downloadqt3-a28783fa4801ce0c5455e69bbf118ed9dabef0d8.tar.gz
qt3-a28783fa4801ce0c5455e69bbf118ed9dabef0d8.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 'examples/sql/overview')
0 files changed, 0 insertions, 0 deletions