title: pthread: does exit() explicitly close file descriptors of the thread
body: <p>Assuming a thread opens some files etc. and thus obtains file descriptors. Is it guaranteed that <code>exit()</code> from a thread closes all file descriptors opened by the thread?</p>