Geoff McLane wrote on Sun, Dec 08, 2019: > At the moment, my os windows build fails on 'main.c:140 - if (ti == > pthead_self())`, since you can not compareĀ structures in that > way... but maybe this is just windows specific... but the docs > suggest if (pthread_equal(t1, t2)) ...
Sorry for that one, since pthread_t is an int on linux I didn't notice. Agreed `if (pthread_equal(t1, pthread_self()))` is the proper way of doing it -- Dominique