new file:   singleton.h
add class ThreadGroup
add method ThreadGroup::startAll()
modify net for linux