change to use new thread library
3 files changed