pub const TH_STATE_STOPPED: c_int = 2;