change a few uses of the threading APIs
6 files changed