diff options
author | OBATA Akio <obache@wizdas.com> | 2021-12-27 17:29:50 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-12-30 17:31:35 +0100 |
commit | a28783fa4801ce0c5455e69bbf118ed9dabef0d8 (patch) | |
tree | 593854c0fc7e6398e0f7f6177d072b51ae1111f1 /tools/designer/examples/richedit/images | |
parent | 628d5bf7addc44ff72a0a58f6fd6207a6e4df400 (diff) | |
download | qt3-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 'tools/designer/examples/richedit/images')
0 files changed, 0 insertions, 0 deletions