PHP 8.3.4 Released!

inotify_queue_len

(PECL inotify >= 0.1.2)

inotify_queue_lenDevuelve un número superior a cero si hay eventos pendientes

Descripción

inotify_queue_len(resource $inotify_instance): int

Esta función permite saber si inotify_read() bloqueará o no. Si un número superior a cero es devuelto, hay eventos pendientes e inotify_read() no bloqueará.

Parámetros

inotify_instance

Recurso devuelto por inotify_init()

Valores devueltos

Devuelve un número superior a cero si hay eventos pendientes.

Ver también

  • inotify_init() - Inicializa una instancia inotify
  • stream_select() - Ejecuta el equivalente de la llamada al sistema select() sobre las matrices de flujos dadas con un tiempo de espera especificado por tv_sec y tv_usec
  • stream_set_blocking() - Establecer el modo bloqueo/no-bloqueo en un flujo

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top