update thread pool examples (spthread)