Add posix threads sample code.

Signed-off-by: YunchaoChen <ytu_cyc@126.com>