Searched refs:poll (Results 1 – 8 of 8) sorted by relevance
/php-uv/examples/ |
H A D | poll.php | 6 $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 D | fs_poll.php | 3 $poll = uv_fs_poll_init(uv_default_loop()); variable 5 uv_fs_poll_start($poll,function($rsc,$stat,$p) {
|
/php-uv/tests/ |
H A D | 330-poll.phpt | 2 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 D | 330-poll-pipe.phpt | 2 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 D | 320-fs-poll.phpt | 2 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 D | php_uv.h | 176 uv_poll_t poll; member
|
H A D | README.md | 2819 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 D | php_uv.c | 6179 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 31 milliseconds