[util]remove dtthread code

please use dt_lock instead