p2  0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Aio Class Reference

Public Member Functions

static PN aio_version (Potion *P, PN cl, PN self)
 
static PN aio_version_string (Potion *P, PN cl, PN self)
 
static PN aio_run (Potion *P, PN cl, PN self, PN loop, PN mode)
 
static PN aio_walk (Potion *P, PN cl, PN self, PN loop, PN cb, PN arg)
 
static PN aio_guess_handle (Potion *P, PN cl, PN file)
 

Detailed Description

See also
3rd/libuv/include/uv.h and http://nikhilm.github.io/uvbook/basics.html

The constructor calls the uv_T_init functions already. loop is always the last element, and defaults to uv_default_loop()

For POSIX unbuffered fileio

See also
file.c open,read,write,seek calls on fd and lib/buffile.c for buffered IO.

(c) 2013-2014 perl11.org

Member Function Documentation

static PN aio_version ( Potion P,
PN  cl,
PN  self 
)

Returns the libuv version packed into a single integer. 8 bits are used for each component, with the patch number stored in the 8 least significant bits. E.g. for libuv 1.2.3 this would return 0x010203.

Definition at line 766 of file aio.c.

static PN aio_version_string ( Potion P,
PN  cl,
PN  self 
)

Returns the libuv version number as a string. For non-release versions "-pre" is appended, so the version number could be "1.2.3-pre".

Definition at line 773 of file aio.c.

static PN aio_run ( Potion P,
PN  cl,
PN  self,
PN  loop,
PN  mode 
)

Definition at line 783 of file aio.c.

static PN aio_walk ( Potion P,
PN  cl,
PN  self,
PN  loop,
PN  cb,
PN  arg 
)

Walk the list of open handles.

Definition at line 796 of file aio.c.

static PN aio_guess_handle ( Potion P,
PN  cl,
PN  file 
)

Definition at line 1202 of file aio.c.


The documentation for this class was generated from the following file: