finish adding the threadop interface