downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

eio_npending> <eio_mknod
[edit] Last updated: Fri, 24 May 2013

view this page in

eio_nop

(PECL eio >= 0.0.1dev)

eio_nopDoes nothing, except go through the whole request cycle.

Descrição

resource eio_nop ([ int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL ]]] )

eio_nop() does nothing, except go through the whole request cycle. Could be useful in debugging.

Parâmetros

pri

A prioridade de requisição: EIO_PRI_DEFAULT, EIO_PRI_MIN, EIO_PRI_MAX, ou NULL. Se NULL for passado, pri será internamente configurado para EIO_PRI_DEFAULT.

callback

A função callback é chamada quando a requisição for finalizada. Ela deve seguir o seguinte protótipo:

void callback($data, $result);
$data são dados customizados passados para a requisição. $result contém resultados específicas à requisição; basicamente, o valor retornado pela chamada de sistema correspondente.

data

Arbitrary variable passed to callback.

Valor Retornado

eio_nop() returns request resource on success or FALSE on error.

Veja Também

  • eio_busy


add a note add a note User Contributed Notes eio_nop - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites