mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
sched: add support for handling exceptions on descriptors
This commit is contained in:
1
sched.h
1
sched.h
@@ -54,6 +54,7 @@ extern void SCH_Finalise(void);
|
||||
/* File events */
|
||||
#define SCH_FILE_INPUT 1
|
||||
#define SCH_FILE_OUTPUT 2
|
||||
#define SCH_FILE_EXCEPTION 4
|
||||
|
||||
/* Register a handler for when select goes true on a file descriptor */
|
||||
extern void SCH_AddFileHandler(int fd, int events, SCH_FileHandler handler, SCH_ArbitraryArgument arg);
|
||||
|
||||
Reference in New Issue
Block a user