to change pcmcap_thread_control_t to thread_control_t