diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2022-07-30 11:40:09 +0200 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2022-07-30 11:40:09 +0200 |
commit | cc9e94c1bc73891dbdad37fcdfa8b6b21b5a2bb6 (patch) | |
tree | cf73eb98a253597eceed6f9ce4bdce93ebe7a9b7 /io_muxer.h | |
parent | f5d91c44031aac643ea68903f7b50b126fd0c7b2 (diff) |
Only return from muxer on error or timeout
Diffstat (limited to 'io_muxer.h')
-rw-r--r-- | io_muxer.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ int IoMuxer_OnRead(struct IoMuxer* io_muxer, int fd, void (*read_callback)(void*), void* user); int IoMuxer_OnWrite(struct IoMuxer* io_muxer, int fd, void (*write_callback)(void*), void* user); -int IoMuxer_Iterate(struct IoMuxer* io_muxer); +int IoMuxer_Iterate(struct IoMuxer* io_muxer, int timeout); void IoMuxer_Destroy(struct IoMuxer* io_muxer); #ifdef __cplusplus |