pub fn thread_stop<'a, 'b, 'c, 'info>(
    ctx: CpiContext<'a, 'b, 'c, 'info, ThreadStop<'info>>
) -> Result<()>