pub const TS_NOTINUSE: TERMINAL_STATE = 1i32;