Exercise with Boost Thread