add boost thread sample