pub fn thread_pause(ctx: Context<'_, '_, '_, '_, ThreadPause<'_>>) -> Result<()>
Pauses an active thread.