mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-14 10:09:31 +00:00
Merge pull request #7 from villains/master
Add support for EPOLLPRI events for i/o watchers Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
commit
ece9788f5a
3 files changed
+3
-2
No files matched your search
@@ -34,7 +34,7 @@
|
||||
* @param cb I/O callback
|
||||
* @param arg Optional callback argument
|
||||
* @param fd File descriptor to watch, or -1 to register an empty watcher
|
||||
* @param events Requested events to watch for, a mask of %UEV_READ and %UEV_WRITE
|
||||
* @param events Requested events to watch for, a mask of %UEV_READ, %UEV_WRITE and %UEV_PRI
|
||||
*
|
||||
* @return POSIX OK(0) or non-zero with @param errno set on error.
|
||||
*/
|
||||
|
||||
@@ -37,7 +37,7 @@ typedef enum {
|
||||
} uev_type_t;
|
||||
|
||||
/* Event mask, used internally only. */
|
||||
#define UEV_EVENT_MASK (UEV_READ | UEV_WRITE)
|
||||
#define UEV_EVENT_MASK (UEV_READ | UEV_WRITE | UEV_PRI)
|
||||
|
||||
/* Main libuEv context type */
|
||||
typedef struct {
|
||||
|
||||
Reference in new issue
Block a user