ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.h
(Generate patch)

Comparing libev/ev.h (file contents):
Revision 1.193 by root, Wed Jun 26 07:01:14 2019 UTC vs.
Revision 1.196 by root, Thu Jul 11 04:35:48 2019 UTC

149# define EV_SIGNAL_ENABLE 1 149# define EV_SIGNAL_ENABLE 1
150#endif 150#endif
151 151
152/*****************************************************************************/ 152/*****************************************************************************/
153 153
154typedef double ev_tstamp; 154#ifndef EV_TSTAMP_T
155# define EV_TSTAMP_T double
156#endif
157typedef EV_TSTAMP_T ev_tstamp;
155 158
156#include <string.h> /* for memmove */ 159#include <string.h> /* for memmove */
157 160
158#ifndef EV_ATOMIC_T 161#ifndef EV_ATOMIC_T
159# include <signal.h> 162# include <signal.h>
520 EVBACKEND_POLL = 0x00000002U, /* !win, !aix, broken on osx */ 523 EVBACKEND_POLL = 0x00000002U, /* !win, !aix, broken on osx */
521 EVBACKEND_EPOLL = 0x00000004U, /* linux */ 524 EVBACKEND_EPOLL = 0x00000004U, /* linux */
522 EVBACKEND_KQUEUE = 0x00000008U, /* bsd, broken on osx */ 525 EVBACKEND_KQUEUE = 0x00000008U, /* bsd, broken on osx */
523 EVBACKEND_DEVPOLL = 0x00000010U, /* solaris 8 */ /* NYI */ 526 EVBACKEND_DEVPOLL = 0x00000010U, /* solaris 8 */ /* NYI */
524 EVBACKEND_PORT = 0x00000020U, /* solaris 10 */ 527 EVBACKEND_PORT = 0x00000020U, /* solaris 10 */
525 EVBACKEND_LINUXAIO = 0x00000040U, /* Linuix AIO */ 528 EVBACKEND_LINUXAIO = 0x00000040U, /* linuix AIO, 4.19+ */
529 EVBACKEND_IOURING = 0x00000080U, /* linux io_uring, 5.1+ */
526 EVBACKEND_ALL = 0x0000007FU, /* all known backends */ 530 EVBACKEND_ALL = 0x000000FFU, /* all known backends */
527 EVBACKEND_MASK = 0x0000FFFFU /* all future backends */ 531 EVBACKEND_MASK = 0x0000FFFFU /* all future backends */
528}; 532};
529 533
530#if EV_PROTOTYPES 534#if EV_PROTOTYPES
531EV_API_DECL int ev_version_major (void) EV_NOEXCEPT; 535EV_API_DECL int ev_version_major (void) EV_NOEXCEPT;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines