xbox_set_thread_timeout

Description

function xbox_set_thread_timeout(
  int $timeout,
): void

Sets the timeout (maximum duration), in seconds, of the current xbox thread. The xbox thread would reset when this amount of time has passed since the previous reset. Throws for non-xbox threads.

Parameters

  • int $timeout - The new timeout (maximum duration).