c - Situations when `pthread_join` can fail / not invoked and cause zombie threads -


from: http://man7.org/linux/man-pages/man3/pthread_join.3.html

failure join thread joinable (i.e., 1 not detached), produces "zombie thread". avoid doing this, ...

how can avoid doing this? don't it, because when try join thread, why deliberately want fail?

i suppose man page means if application not join joinable thread after terminates, forgets it, terminated thread becomes zombie thread, , zombies bad.

that is, failure here means deliberately not performing.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -