Fix threads framework
requested to merge github/fork/shintaro-iwasaki/topic/thread_framework2 into topic/thread_framework2
Created by: shintaro-iwasaki
This PR addresses most of the problems newly found except the following items that I think are still discussed:
- TSD management
- Definitions of
REQUEST_PENDING
andREQUEST_COMPLETED
- Some cleanups.
The head repository is
https://github.com/shintaro-iwasaki/ompi-1
branch: topic/thread_framework2
Could you please squash this branch so that I can resolve some of his comments.