fix more threading API usage
1 file changed