Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 8 of 8) sorted by relevance

/php-uv/examples/
H A Dpoll.php6 $poll = uv_poll_init(uv_default_loop(), $socket); variable
8 uv_poll_start($poll, UV::READABLE, function($poll, $stat, $ev, $socket) {
14 uv_poll_start($pp, UV::WRITABLE, function($poll, $stat, $ev, $conn) {
19 uv_poll_stop($poll);
H A Dfs_poll.php3 $poll = uv_fs_poll_init(uv_default_loop()); variable
5 uv_fs_poll_start($poll,function($rsc,$stat,$p) {
/php-uv/tests/
H A D330-poll.phpt2 Check for poll read and close
8 $poll = uv_poll_init(uv_default_loop(), $socket);
9 uv_poll_start($poll, UV::READABLE, function($poll, $stat, $ev, $socket) {
12 uv_poll_stop($poll);
14 uv_poll_start($pp, UV::WRITABLE, function($poll, $stat, $ev, $conn) use (&$pp) {
15 uv_poll_stop($poll);
H A D330-poll-pipe.phpt2 Check poll of a pipe works
10 $poll = uv_poll_init($loop, $fd);
12 uv_poll_start($poll, UV::READABLE, function($poll, $stat, $ev, $fd) {
14 uv_poll_stop($poll);
H A D320-fs-poll.phpt2 Check for fs poll
5 define("FIXTURE_PATH", dirname(__FILE__) . "/fixtures/poll");
7 $poll = uv_fs_poll_init(uv_default_loop());
12 uv_fs_poll_start($poll,function($rsc,$stat,$p,$c) use (&$i) {
/php-uv/
H A Dphp_uv.h176 uv_poll_t poll; member
H A DREADME.md2819 initialize poll
2829 *resource uv*: uv resource which initialized poll.
2837 $poll = uv_poll_init(uv_default_loop(), $fd);
2854 *resource $poll*: uv poll resource.
2858 *callable $callback*: this callback parameter expects (resource $poll, long $status, long $events, …
2870 $poll = uv_poll_init(uv_default_loop(), $fd);
2871 uv_poll_start($poll, UV::WRITABLE, function($poll, $stat, $ev, $conn){
2874 uv_poll_stop($poll);
2886 ### void uv_poll_stop(resource $poll)
2895 ### void uv_fs_poll_stop(resource $poll)
H A Dphp_uv.c6179 error = uv_poll_start(&uv->uv.poll, events, php_uv_poll_cb);
6197 if (!uv_is_active((uv_handle_t *) &uv->uv.poll)) {
6201 uv_poll_stop(&uv->uv.poll);

Completed in 30 milliseconds