Fix tlayer app
Merge pull request #83 from authmillenon/fix_tlayer_app

Fix tlayer app
posix: add pthread test case