Good day I'm not sure that is a bug or I'm missing something, but still. There is man-page for pthread_join() function and in its "ERRORS" section one error code - EINVAL - is mentioned twice with different causes, so I have doubts about how to handle such of an error. Here is a link https://man7.org/linux/man-pages/man3/pthread_join.3.html Could you correct that if it is a mistype? Or, may be add some kind of explanation for that kind of situation. -- with best regards, Aitch Kay GnuPG/DSA-ELG fingerprint: C697 A07B DEE0 B000 2C3D 870D 9FBC 20C8 50ED 247F