938a983576
The exit call in the thread functions have potential thread racing issues and may leave another process hanging. I think it is unnecessary for the example and may cause more confusion.
This directory contains programs that may be useful for developers. These are not example programs; rather, they may be used to explore the behavior of the MPI implementation in some special cases.