[docs] [issue17375] Add docstrings to methods in the threading module