mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
sched: add support for output file event
This allows waiting for non-blocking write operations.
This commit is contained in:
1
sched.h
1
sched.h
@@ -53,6 +53,7 @@ extern void SCH_Finalise(void);
|
||||
|
||||
/* File events */
|
||||
#define SCH_FILE_INPUT 1
|
||||
#define SCH_FILE_OUTPUT 2
|
||||
|
||||
/* 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