Zth (libzth)

Functions

ssize_t zth::io::read (int fd, void *buf, size_t count)
 Like normal read(), but forwards the poll() to the zth::Waiter in case it would block. More...
 
ssize_t zth::io::write (int fd, void const *buf, size_t count)
 Like normal write(), but forwards the poll() to the zth::Waiter in case it would block. More...
 

Detailed Description

Function Documentation

◆ read()

ssize_t zth::io::read ( int  fd,
void *  buf,
size_t  count 
)

Like normal read(), but forwards the poll() to the zth::Waiter in case it would block.

Examples
fsm14.cpp.

Definition at line 27 of file io.cpp.

◆ write()

ssize_t zth::io::write ( int  fd,
void const *  buf,
size_t  count 
)

Like normal write(), but forwards the poll() to the zth::Waiter in case it would block.

Examples
zmq.cpp.

Definition at line 54 of file io.cpp.