-lrt is needed on redhat
doc test code state heirarchy
sync startup of a group of threads