diff options
author | OBATA Akio <obache@wizdas.com> | 2021-12-27 17:29:50 +0900 |
---|---|---|
committer | OBATA Akio <obache@wizdas.com> | 2021-12-28 16:47:51 +0900 |
commit | 7e4fc64d69e8211cbe6e6fed33998ecab29c873d (patch) | |
tree | dd6cbd74b960d678c97e65d8a451c7e34795821c /examples/xform/aticatac.cpp | |
parent | 1c1b280b1f48e643a73bd3536d1a4ab0237ebdaf (diff) | |
download | tqt3-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 <obache@wizdas.com>
Diffstat (limited to 'examples/xform/aticatac.cpp')
0 files changed, 0 insertions, 0 deletions