add option -e, -V; add pthread_join
Merge pull request #1 from rk700/master

add option -e, -V; add pthread_join